Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Jay Bourque
Ondrej, Just submitted the following pull request for this: https://github.com/numpy/numpy/pull/401 -Jay On Fri, Aug 31, 2012 at 12:09 PM, Ondřej Čertík wrote: > On Fri, Aug 31, 2012 at 6:15 AM, Jay Bourque > wrote: > > Ondrej, > > > > Sorry for the delay in getting back to this. I have some

Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Ondřej Čertík
On Fri, Aug 31, 2012 at 6:15 AM, Jay Bourque wrote: > Ondrej, > > Sorry for the delay in getting back to this. I have some free time today to > get this resolved if you haven't already fixed it. I haven't. If you can look at it, that would be absolutely awesome. If you don't manage to fix it, if

Re: [Numpy-discussion] view of recarray issue

2012-08-31 Thread Jay Bourque
Ondrej, Sorry for the delay in getting back to this. I have some free time today to get this resolved if you haven't already fixed it. -Jay On Wed, Aug 29, 2012 at 7:19 PM, Ondřej Čertík wrote: > Jay, > > On Mon, Aug 20, 2012 at 12:40 PM, Ondřej Čertík > wrote: > > On Wed, Jul 25, 2012 at 10:2

Re: [Numpy-discussion] view of recarray issue

2012-08-29 Thread Ondřej Čertík
Jay, On Mon, Aug 20, 2012 at 12:40 PM, Ondřej Čertík wrote: > On Wed, Jul 25, 2012 at 10:29 AM, Jay Bourque > wrote: >> I'm actively looking at this issue since it was my pull request that broke >> this (https://github.com/numpy/numpy/pull/350). We definitely don't want to >> break this functio

Re: [Numpy-discussion] view of recarray issue

2012-08-20 Thread Ondřej Čertík
On Wed, Jul 25, 2012 at 10:29 AM, Jay Bourque wrote: > I'm actively looking at this issue since it was my pull request that broke > this (https://github.com/numpy/numpy/pull/350). We definitely don't want to > break this functionality for 1.7. The problem is that even though indexing > with a subs

Re: [Numpy-discussion] view of recarray issue

2012-07-25 Thread Jay Bourque
I'm actively looking at this issue since it was my pull request that broke this (https://github.com/numpy/numpy/pull/350). We definitely don't want to break this functionality for 1.7. The problem is that even though indexing with a subset of fields still returns a copy (for now), it now returns a

Re: [Numpy-discussion] view of recarray issue

2012-07-25 Thread Skipper Seabold
On Sun, Jul 22, 2012 at 2:15 PM, Ralf Gommers wrote: > Hi, > > Just a heads up that right now views of recarrays seem to be problematic, > this doesn't work anymore: > import statsmodels.api as sm dta = sm.datasets.macrodata.load() # returns a record array with 14 fields dta.d

[Numpy-discussion] view of recarray issue

2012-07-22 Thread Ralf Gommers
Hi, Just a heads up that right now views of recarrays seem to be problematic, this doesn't work anymore: >>> import statsmodels.api as sm >>> dta = sm.datasets.macrodata.load() # returns a record array with 14 fields >>> dta.data[['infl', 'realgdp']].view((float,2)) I opened http://projects.sci