Re: [Numpy-discussion] argsort in descending order

2008-09-05 Thread Dan Lenski
On Fri, 05 Sep 2008 07:02:38 -0700, SimonPalmer 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? Just sort and subtract to get the reverse order. I can think of two reasonable ways to do it with no

Re: [Numpy-discussion] argsort in descending order

2008-09-05 Thread Charles R Harris
On Fri, Sep 5, 2008 at 8:02 AM, SimonPalmer <[EMAIL PROTECTED]> 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. Chuck __

[Numpy-discussion] argsort in descending order

2008-09-05 Thread SimonPalmer
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? ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion