i have a dynamic situation, wherein i want to filter the data as per bellow logic.
dynamic_cols = ['A', 'B'. ...]
dynamic_values = [1,2,...]
data_frame.LOC[data_frame[dynamic_cols == dynamic_values ]]
i have used pandas, and numpy.
Any suggestion on this please?
Ex: In above case i want to filter the rows where in A=1 and Column B=2