> > 3. If you have multiple advanced indexing you get annoying broadcasting
> >of all of these. That is *always* confusing for boolean indices.
> >0-D should not be too special there...
OK, now that I am learning more about advanced indexing, this
statement is confusing to me. It seems tha
On Wed, 2020-08-19 at 18:07 -0600, Aaron Meurer wrote:
> > > 3. If you have multiple advanced indexing you get annoying
> > > broadcasting
> > >of all of these. That is *always* confusing for boolean
> > > indices.
> > >0-D should not be too special there...
>
> OK, now that I am learning
These cases don't give any deprecation warnings in NumPy master:
>>> np.arange(0)[np.array([0]), False]
array([], dtype=int64)
>>> np.arange(0).reshape((0, 0))[np.array([0]), np.array([], dtype=int)]
array([], dtype=int64)
Is that intentional?
Aaron Meurer
On Thu, Jul 23, 2020 at 12:18 PM Aaron
On Wed, 2020-08-19 at 19:37 -0600, Aaron Meurer wrote:
> These cases don't give any deprecation warnings in NumPy master:
>
> > > > np.arange(0)[np.array([0]), False]
> array([], dtype=int64)
> > > > np.arange(0).reshape((0, 0))[np.array([0]), np.array([],
> > > > dtype=int)]
> array([], dtype=int