On this page
numpy.ndarray.any
method
- ndarray.any(axis=None, out=None, keepdims=False, *, where=True)
-
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
-
© 2005–2022 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.23/reference/generated/numpy.ndarray.any.html