Re: [Numpy-discussion] Applying argwhere to an array

2009-11-19 Thread Robert Kern
On Fri, Nov 20, 2009 at 01:21, - wrote: > So if I have a 2-dimensional array, and I want to return the indexes > of all the elements that are larger than some value, then I just use > np.argwhere(d > 1) or something, where d is the array.  However, is > there anything I can do that's similar, but

[Numpy-discussion] Applying argwhere to an array

2009-11-19 Thread -
So if I have a 2-dimensional array, and I want to return the indexes of all the elements that are larger than some value, then I just use np.argwhere(d > 1) or something, where d is the array. However, is there anything I can do that's similar, but return the indexes of the elements that are large