Reputation: 17097
In a pandas dataframe, what is the quickest way to check if at least one element is 0? Imagine the data is :
Name Asset Revenue
A 10 20
B 0 21
I need to return true because at least one element is 0. One element across the dataframe, not one element per row/column
Upvotes: 12
Views: 32665