Sorting Multidimesional array(newbie)
Tartifola
tartifola at gmail.com
Mon Dec 11 13:31:04 EST 2006
More information about the Python-list mailing list
Mon Dec 11 13:31:04 EST 2006
- Previous message (by thread): Sorting Multidimesional array(newbie)
- Next message (by thread): Sorting Multidimesional array(newbie)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
how can I sort an array like
array([[5, 2],
[1, 3]])
along the first column to obtain
array([[1, 3],
[5, 2]])
i.e. keeping track of the ordered couples?
Thanks,
A
- Previous message (by thread): Sorting Multidimesional array(newbie)
- Next message (by thread): Sorting Multidimesional array(newbie)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list