[ Web Proxy ]
URL:
Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.pandas.Index.all.html [Back]  [Original]

bigframes.pandas.Index.all — bigframes documentation
Back to top
Search the docs ...:

bigframes.pandas.Index.all#

Index.all() bool[source]#

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.


Web Proxy Viewer  |  New URL  |  Original Page