Re: [Numpy-discussion] numpy sort is not working

2012-09-11 Thread Jadhav, Alok
--- but in chunks. -- Travis Oliphant (on a mobile) 512-826-7480 On Sep 10, 2012, at 10:46 PM, "Jadhav, Alok" wrote: Hi everyone, I have a numpy array of dimensions >>> allRics.shape (583760, 1)

Re: [Numpy-discussion] numpy sort is not working

2012-09-11 Thread Jadhav, Alok
esday, September 11, 2012 2:04 PM To: Discussion of Numerical Python Subject: Re: [Numpy-discussion] numpy sort is not working On Tue, Sep 11, 2012 at 12:52 AM, Jadhav, Alok wrote: Hi Travis, Very Strange. I am on version 1.6.2 L What could I be missing. I started using numpy quite

Re: [Numpy-discussion] numpy sort is not working

2012-09-10 Thread Jadhav, Alok
related directly to the issue you referenced as that was an endian-ness issue and your data is native-order. Your example seems to work for me (with a simulated case on 1.6.1) Best, -Travis On Sep 10, 2012, at 10:46 PM, Jadhav, Alok wrote: Hi everyone, I have a numpy

[Numpy-discussion] numpy sort is not working

2012-09-10 Thread Jadhav, Alok
Hi everyone, I have a numpy array of dimensions >>> allRics.shape (583760, 1) To sort the array, I set the dtype of the array as follows: allRics.dtype = [('idx', np.float), ('opened', np.float), ('time', np.float),('trdp1',np.float),('trdp0',np.float),('dt',np.float),('value'