matrix.
any
Test whether any array element along a given axis evaluates to True.
Refer tonumpy.any for full documentation.
numpy.any
axis : int, optional
Axis along which logical OR is performed
out : ndarray, optional
Output to existing array instead of creating new one, must havesame shape as expected output
any : bool, ndarray
Returns a single bool ifaxis isNone; otherwise,returnsndarray
None
ndarray
numpy.matrix.all
numpy.matrix.argmax