ndarray.any()

numpy.ndarray.any

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

© 2008–2016 NumPy Developers
Licensed under the NumPy License.
登录查看完整内容