I have a DataFrame like this:
A B C
0 True True False
1 True True True
2 False True True
I want to look for the instances of False and get its row and column.
Expected result: [(0, 'C'), (2, 'A')]. not exactly on this data structure format, but you get the drill.
I've tried doing this:
df[df.eq(False).any(1)]
What It does is filter out the rows where there's no False bool.
Any tips ?