Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Chad Kidder
Thanks, that works. It will be nice when the original way works also. On Oct 16, 2013 10:28 AM, "Sebastian Berg" wrote: > On Wed, 2013-10-16 at 11:50 -0400, Benjamin Root wrote: > > > > > > > > On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder > > wrote: > > Just found what should be a bug

Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Sebastian Berg
On Wed, 2013-10-16 at 11:50 -0400, Benjamin Root wrote: > > > > On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder > wrote: > Just found what should be a bug in 1.7.1. I'm running > python(x,y) on windows here: > > >>> dataMatrix[ii,:,mask].shape > (201, 23)

Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Benjamin Root
On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder wrote: > Just found what should be a bug in 1.7.1. I'm running python(x,y) on > windows here: > > >>> dataMatrix[ii,:,mask].shape > (201, 23) > >>> dataMatrix[ii,:,:].shape > (23, 201) > >>> dataMatrix.shape > (24, 23, 201) > >>> mask > array([ True,

[Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Chad Kidder
Just found what should be a bug in 1.7.1. I'm running python(x,y) on windows here: >>> dataMatrix[ii,:,mask].shape (201, 23) >>> dataMatrix[ii,:,:].shape (23, 201) >>> dataMatrix.shape (24, 23, 201) >>> mask array([ True, True, True, True, True, True, True, True, True, ...