bigframes.pandas.DatetimeIndex.all#

DatetimeIndex.all() bool#

Return whether all elements are Truthy.

Examples:

True, because nonzero integers are considered True.

>>> bool(bpd.Index([1, 2, 3]).all())
True

False, because 0 is considered False.

>>> bool(bpd.Index([0, 1, 2]).all())
False
Returns:

A single element array-like may be converted to bool.

Return type:

bool

Raises:

TypeError – MultiIndex with more than 1 level does not support all.