I want to filter a dataframe in which column having list of values. I want to filter on multiple conditions. How can I do that?
>>> my_df
col values
0 c1 [1,2,3]
1 c2 ['a', 'b', 'c']
2 c3 [11,12,13]
>>> my_df.query(df.query(" `c2` in '['a','b','c']' "))
I expect the output to be
col values
1 c2 ['a', 'b', 'c']