Re: [Numpy-discussion] datetime dtype possible regression

2012-04-30 Thread Mark Wiebe
On Mon, Apr 30, 2012 at 4:11 PM, Charles R Harris wrote: > > > On Mon, Apr 30, 2012 at 1:19 PM, Mark Wiebe wrote: > >> I've done some comparisons of 1.6.1 and 1.7 (master), and written up some >> key differences in a pull request here: >> >> https://github.com/numpy/numpy/pull/264/files#diff-0 >

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-30 Thread Charles R Harris
On Mon, Apr 30, 2012 at 1:19 PM, Mark Wiebe wrote: > I've done some comparisons of 1.6.1 and 1.7 (master), and written up some > key differences in a pull request here: > > https://github.com/numpy/numpy/pull/264/files#diff-0 > > What you've discovered here looks like an interaction between the >

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-30 Thread Mark Wiebe
I've done some comparisons of 1.6.1 and 1.7 (master), and written up some key differences in a pull request here: https://github.com/numpy/numpy/pull/264/files#diff-0 What you've discovered here looks like an interaction between the automatic unit detection and struct dtypes, it's a bug to do wit

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-29 Thread Charles R Harris
On Sun, Apr 29, 2012 at 3:45 PM, Wes McKinney wrote: > On Sat, Apr 28, 2012 at 11:18 AM, Charles R Harris > wrote: > > > > > > On Sat, Apr 28, 2012 at 9:13 AM, Wes McKinney > wrote: > >> > >> On Fri, Apr 27, 2012 at 4:57 PM, Robert Kern > >> wrote: > >> > On Fri, Apr 27, 2012 at 21:52, Travis

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-29 Thread Wes McKinney
On Sat, Apr 28, 2012 at 11:18 AM, Charles R Harris wrote: > > > On Sat, Apr 28, 2012 at 9:13 AM, Wes McKinney wrote: >> >> On Fri, Apr 27, 2012 at 4:57 PM, Robert Kern >> wrote: >> > On Fri, Apr 27, 2012 at 21:52, Travis Vaught wrote: >> >> With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior:

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-28 Thread Charles R Harris
On Sat, Apr 28, 2012 at 9:13 AM, Wes McKinney wrote: > On Fri, Apr 27, 2012 at 4:57 PM, Robert Kern > wrote: > > On Fri, Apr 27, 2012 at 21:52, Travis Vaught wrote: > >> With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: > >> > >> > >> ~ > >> > >> In [1]: imp

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-28 Thread Wes McKinney
On Fri, Apr 27, 2012 at 4:57 PM, Robert Kern wrote: > On Fri, Apr 27, 2012 at 21:52, Travis Vaught wrote: >> With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: >> >> >> ~ >> >> In [1]: import numpy as np >> >> In [2]: schema = np.dtype({'names':['symbol', 'date

Re: [Numpy-discussion] datetime dtype possible regression

2012-04-27 Thread Robert Kern
On Fri, Apr 27, 2012 at 21:52, Travis Vaught wrote: > With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: > > > ~ > > In [1]: import numpy as np > > In [2]: schema = np.dtype({'names':['symbol', 'date', 'open', 'high', 'low', >    ...:                        'clo

[Numpy-discussion] datetime dtype possible regression

2012-04-27 Thread Travis Vaught
With NumPy 1.6.1 (from EPD 7.2-2) I get this behavior: ~ In [1]: import numpy as np In [2]: schema = np.dtype({'names':['symbol', 'date', 'open', 'high', 'low', ...:'close', 'volume', 'adjclose'], ...:'formats':['