Scipy.org
Docs
NumPy v1.12 Manual
NumPy Reference
Array objects
The N-dimensional array (
ndarray
)
index
next
previous
numpy.ndarray.__nonzero__
¶
ndarray.
__nonzero__
¶
x.__nonzero__() <==> x != 0
Previous topic
numpy.ndarray.__ne__
Next topic
numpy.ndarray.__neg__