I have a list or array contains values[apple,items] and i want a resultant df with where column('c') has the same list/array values.
Suppose in below eg: A can be a list/array/str and resultant df is based on the values in A compared with df 'c' column
eg:
A = [apple,items]
df
a b c
0 10 13 items
1 9 12 testcase
2 8 11 apple
3 7 10 apple
4 6 9 test
5 5 8 items
Final df
a b c
0 10 13 items
1 8 11 apple
2 7 10 apple
3 5 8 items
I tried with boolean indexing but couldn't succeced