So I have a dataframe table call latest_key_status, it have two boolean column 'a' and 'b' When I want to filter it by 'a', like this:
latest_key_status.filter(latest_key_status['a'] == False)
It works
However, when I want to do this
latest_key_status.filter((latest_key_status['a'] == False) | (latest_key_status['b'] == False))
It failed
Could anyone tell me how can I do this? Thanks