method
Test whether any array element along a given axis evaluates to True.
Refer to numpy.any for full documentation.
Axis along which logical OR is performed
Output to existing array instead of creating new one, must have same shape as expected output
Returns a single bool if axis is None; otherwise, returns ndarray
© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.4/reference/generated/numpy.matrix.any.html