On Tue, Mar 29, 2011 at 13:33,  <[email protected]> wrote:

> Any suggestions on how to achieve stable sort based on multiple columns with
> numpy ?

http://docs.scipy.org/doc/numpy/reference/generated/numpy.lexsort.html#numpy.lexsort

It uses mergesort for stability.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to