7.5.36.32. nonzero

Array.nonzero()

Return the indices of the elements that are non-zero.

Refer to numpy.nonzero for full documentation.

7.5.36.32. See Also

numpy.nonzero : equivalent function