[Numpy-discussion] Numpy Advanced Indexing Question

Fernando Perez fperez.net at gmail.com
Wed Jul 16 19:32:08 EDT 2008


On Wed, Jul 16, 2008 at 4:08 PM, Robert Kern <robert.kern at gmail.com> wrote:

> Ah, okay. It's a bit tricky, though. Yes, you need to use fancy
> indexing. Since axis you want to be index fancifully is not the first
> one, you have to be more explicit than you might otherwise want. For
> example, it would be great if you could just use slices for the first
> two axes:

+1 for TOW (Tip of the Week).

I'm sure some helpful soul will be kind enough to put this in one of
the example/tutorial/cookbook pages.

Cheers,

f



More information about the NumPy-Discussion mailing list