Return whether all elements are True.
These parameters will be passed to numpy.all.
A single element array_like may be converted to bool.
Return whether any element in an Index is True.
Return whether any element in a Series is True.
Return whether all elements in a Series are True.
Not a Number (NaN), positive infinity and negative infinity
evaluate to True because these are not equal to zero.
True, because nonzero integers are considered True.
>>> pd.Index([1, 2, 3]).all()
False, because 0 is considered False.
>>> pd.Index([0, 1, 2]).all()
True, because 1 is considered True.
>>> pd.Index([0, 0, 1]).any()
>>> pd.Index([0, 0, 0]).any()