On Tue, 2013-07-02 at 20:44 -0700, Bradley M. Froehle wrote:
> A colleague just showed me this indexing behavior and I was at a loss
> to explain what was going on. Can anybody else chime in and help me
> understand this indexing behavior?
>
> >>> import numpy as np
> >>> np.__version__
>
A colleague just showed me this indexing behavior and I was at a loss
to explain what was going on. Can anybody else chime in and help me
understand this indexing behavior?
>>> import numpy as np
>>> np.__version__
'1.7.1'
>>> A = np.ones((2,3,5))
>>> mask = np.array([True]*4