any(self, axis=None, out=None)¶
Test whether any array element along a given axis evaluates to True.
numpy.anyfor full documentation.
- axisint, optional
Axis along which logical OR is performed
- outndarray, optional
Output to existing array instead of creating new one, must have same shape as expected output
- anybool, ndarray
Returns a single bool if axis is
None; otherwise, returns