[Numpy-discussion] Fancy indexing with masks

Stéfan van der Walt stefan at sun.ac.za
Tue Sep 20 11:56:31 EDT 2011


On Tue, Sep 20, 2011 at 12:43 AM, Robert Kern <robert.kern at 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