bigframes.pandas.MultiIndex.any#

MultiIndex.any() bool#

Return whether any element is Truthy.

Examples:

>>> index = bpd.Index([0, 1, 2])
>>> bool(index.any())
True
>>> index = bpd.Index([0, 0, 0])
>>> bool(index.any())
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 any.