1 Jun 01:41
Re: Strange behavior in setting masked array values in Numpy 1.1.0
Pierre GM <pgmdevlist <at> gmail.com>
2008-05-31 23:41:44 GMT
2008-05-31 23:41:44 GMT
On Saturday 31 May 2008 18:35:32 Tony Yu wrote: > On May 31, 2008, at 6:04 PM, Matthieu Brucher wrote: > > Hi, > > > > This is to be expected. You are trying to modify and read the same > > array at the same time, which should never be done. > > Thanks, I'll have to keep this in mind next time. And the reason why it works with oldnumeric is that the right term is copied while setting the slice. > So, what's the best way to rearrange a subarray of an array. Copying > seems inefficient. But likely the only solution for your data to be contiguous
RSS Feed