I have a dataframe with several columns and rows all values of each column are numbers. I want to see which cells satisfy a condition and then see their column, key and value.
eg.
a b
x 1 3
y 2 2
z 3 1
if the condition is x > 2, I want to return something like:
[('a', 'z', 3), ('b', 'x', 3)]
It doesn't really matter the exact return format. but I want to be able to get this information in some way