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