[Numpy-discussion] Advanced indexing: "fancy" vs. orthogonal

Eric Firing efiring at hawaii.edu
Thu Apr 2 16:35:29 EDT 2015


On 2015/04/02 10:22 AM, josef.pktd at gmail.com wrote:
> Swapping the axis when slices are mixed with fancy indexing was a
> design mistake, IMO. But not fancy indexing itself.

I'm not saying there should be no fancy indexing capability; I am saying 
that it should be available through a function or method, rather than 
via the square brackets.  Square brackets should do things that people 
expect them to do--the most common and easy-to-understand style of indexing.

Eric



More information about the NumPy-Discussion mailing list