Hi,

Maybe this is not so clever, but I can't find it in the doc.
I need to get all indices/index of all occurrences of a value in a numpy
array


As example:

a = numpy.array([1,2,3],[4,5,6],[7,8,9])
I need to get the indice/index of all array elements where a[a>3]

Any fast/easy way to write this ?

Thanks for your help ;-)

Cheers,
Nicolas.

_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to