Re: [Numpy-discussion] Fix masked arrays to properly edit views

2015-03-14 Thread Eric Firing
On 2015/03/14 1:02 PM, John Kirkham wrote: > The sample case of the issue ( > https://github.com/numpy/numpy/issues/5558 ) is shown below. A proposal > to address this behavior can be found here ( > https://github.com/numpy/numpy/pull/5580 ). Please give me your feedback. > > > I tried to change th

[Numpy-discussion] Fix masked arrays to properly edit views

2015-03-14 Thread John Kirkham
The sample case of the issue ( https://github.com/numpy/numpy/issues/5558 ) is shown below. A proposal to address this behavior can be found here ( https://github.com/numpy/numpy/pull/5580 ). Please give me your feedback. I tried to change the mask of `a` through a subindexed view, but was unab

Re: [Numpy-discussion] Error message

2015-03-14 Thread Hanno Klemm
> On 14.03.2015, at 10:57, Danny Kramer wrote: > > Hi, > I am getting the following error message: > > C:\Python27\lib\site-packages\numpy\lib\npyio.py:819: UserWarning: loadtxt: > Empty input file: "[]" > warnings.warn('loadtxt: Empty input file: "%s"' % fname) > main loop list assignment

[Numpy-discussion] Error message

2015-03-14 Thread Danny Kramer
Hi, I am getting the following error message: C:\Python27\lib\site-packages\numpy\lib\npyio.py:819: UserWarning: loadtxt: Empty input file: "[]" warnings.warn('loadtxt: Empty input file: "%s"' % fname) main loop list assignment index out of range 1. Why is it happening? 2. How can I fix it? T