pandas dataframe find all rows where a column multiple column code example
Example: python- find multiple values in a column
df_values = df[df['myvar'].isin(['element_1', 'element_2'])]
df_values = df[df['myvar'].isin(['element_1', 'element_2'])]