[Numpy-discussion] stable sort on a recarray ?
Robert Kern
robert.kern at gmail.com
Tue Mar 29 14:40:55 EDT 2011
On Tue, Mar 29, 2011 at 13:33, <butterw at gmail.com> 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
More information about the NumPy-Discussion
mailing list