You are viewing documentation about an older version (1.20.0). View latest version

modin.pandas.Index.any¶

Index.any() → None[source]¶

Return whether any element is Truthy.

Parameters:
  • *args – Required for compatibility with numpy.

  • **kwargs – Required for compatibility with numpy.

Returns:

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

Return type:

bool or array-like (if axis is specified)

See also

Index.all

Return whether all elements are True.

Series.all

Return whether all elements are True.

Notes

Not a Number (NaN), positive infinity and negative infinity evaluate to True because these are not equal to zero.