pandas.Index.any

pandas 3.1.1 · Index objects · method

Test whether at least one value along the selected axis or group evaluates to true.

Call syntax

Index.any(*args, **kwargs)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
*args Optional
Additional positional arguments
**kwargs Optional
Additional keyword arguments

Returns

bool or array-like (if axis is specified)