W3cubDocs

/NumPy 1.13

numpy.ndarray.__nonzero__

ndarray.__nonzero__

x.__nonzero__() <==> x != 0

© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.13.0/reference/generated/numpy.ndarray.__nonzero__.html