Re: [Numpy-discussion] numpy.ma.arg{min,max}

2009-04-10 Thread Adam Oliner
at 3:16 PM, Christopher Barker wrote: > Adam Oliner wrote: >> The documentation for numpy.ma.argmin says: >> "Returns array of indices of the maximum values along the given >> axis." >> >> Aside from probably meaning to say the 'minimum' values, &

[Numpy-discussion] numpy.ma.arg{min,max}

2009-04-10 Thread Adam Oliner
Hi there, The documentation for numpy.ma.argmin says: "Returns array of indices of the maximum values along the given axis." Aside from probably meaning to say the 'minimum' values, it also doesn't seem to return an array: >>> a array([1, 1, 1, 5, 5]) >>> numpy.ma.argmax(a) 3 >>> numpy.ma.a