Sorting array
- From: Tartifola <tartifola@xxxxxxxxx>
- Date: Fri, 30 Nov 2007 15:42:26 +0100
Hi,
I'm working with numerical array and I'm a little lost on a particular
sorting of one of them. In particular I have an array like
a = array([[8,4,1],[2,0,9]])
and I need to sort it using only the first column as reference but
keeping the lines together so to obtain
array([[2, 0, 9],
[8, 4, 1]])
Any help?
Thanks
.
- Follow-Ups:
- Re: Sorting array
- From: Robert Kern
- Re: Sorting array
- From: Chris Hulan
- Re: Sorting array
- Prev by Date: Re: Gnu/Linux dialogue boxes in python
- Next by Date: Unicode string formating
- Previous by thread: Events - Design Patterns
- Next by thread: Re: Sorting array
- Index(es):