[Numpy-discussion] argsort in descending order

Charles R Harris charlesr.harris@gmail....
Fri Sep 5 11:43:15 CDT 2008

On Fri, Sep 5, 2008 at 8:02 AM, SimonPalmer <simon.palmer@gmail.com> wrote:

> another newb question I suspect, but is there a way to instruct
> argsort to sort in descending order or should I just sort and reverse?

You'll just have to reverse the indices.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080905/3d678108/attachment-0001.html 

More information about the Numpy-discussion mailing list