NumPy

Previous topic

numpy.ndarray.all

Next topic

numpy.ndarray.argmax

numpy.ndarray.any

method

ndarray.any(axis=None, out=None, keepdims=False)

Returns True if any of the elements of a evaluate to True.

Refer to numpy.any for full documentation.

See also

numpy.any

equivalent function