On Sunday, May 27, 2012, Chao YUE wrote:

> for me, np.nonzero() and np.where() both work. It seems they have same
> function.
>
> chao


They are not identical. Nonzeros is for indices. The where function is
really meant for a different purpose, but special-cases for this call
signature.

Ben Root

>
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to