Re: how to sort two dimensional array ??

2010-01-19 Thread Stephen Hansen
On Tue, Jan 19, 2010 at 9:00 AM, Robert Somerville < rsomervi...@sjgeophysics.com> wrote: > Hi; > Hi, why did you post this three times? > i am having trouble trying to sort the rows of a 2 dimensional array by the > values in the first column .. does anybody know how or have an example of > ho

Re: how to sort two dimensional array ??

2010-01-19 Thread Robert Kern
On 2010-01-19 11:00 AM, Robert Somerville wrote: Hi; i am having trouble trying to sort the rows of a 2 dimensional array by the values in the first column .. does anybody know how or have an example of how to do this ??? while leaving the remain columns remain relative to the leading column Yo

how to sort two dimensional array ??

2010-01-19 Thread Robert Somerville
Hi; i am having trouble trying to sort the rows of a 2 dimensional array by the values in the first column .. does anybody know how or have an example of how to do this ??? while leaving the remain columns remain relative to the leading column from numpy import * a=array( [ [4, 4, 3], [4, 5,

how to sort two dimensional array ??

2010-01-19 Thread robert somerville
Hi; i am having trouble trying to sort the rows of a 2 dimensional array by the values in the first column .. does anybody know how or have an example of how to do this ??? while leaving the remain columns remain relative to the leading column from numpy import * a=array( [ [4, 4, 3], [4, 5, 2],

how to sort two dimensional array

2010-01-19 Thread robert somerville
Hi; i am having trouble trying to sort the rows of a 2 dimensional array by the values in the first column .. does anybody know how or have an example of how to do this ??? while leaving the remain columns remain relative to the leading column from numpy import * a=array( [ [4, 4, 3], [4, 5, 2],