[Numpy-discussion] Fancy indexing with masks

Stéfan van der Walt stefan@sun.ac...
Tue Sep 20 10:56:31 CDT 2011


On Tue, Sep 20, 2011 at 12:43 AM, Robert Kern <robert.kern@gmail.com> wrote:
> If the array is short in a dimension, it gets implicitly continued
> with Falses. You can see this in one dimension:

[...]

> I honestly don't know if this is documented or tested anywhere or even
> if this existed in older versions.

The behaviour is already present in 1.4, so I guess it's too late to
insert a shape check now?

Regards
Stéfan


More information about the NumPy-Discussion mailing list