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

Eric Firing efiring at hawaii.edu
Thu Apr 2 20:02:05 EDT 2015

On 2015/04/02 1:14 PM, Hanno Klemm wrote:
> Well, I have written quite a bit of code that relies on fancy
> indexing, and I think the question, if the behaviour of the []
> operator should be changed has sailed with numpy now at version 1.9.
> Given the amount packages that rely on numpy, changing this
> fundamental behaviour would not be a clever move.

Are you *positive* that there is no clever way to make a transition? 
It's not worth any further thought?

> If people want to implement orthogonal indexing with another method,
> by all means I might use it at some point in the future. However,
> adding even more complexity to the behaviour of the bracket slicing
> is probably not a good idea.

I'm not advocating adding even more complexity, I'm trying to think 
about ways to make it *less* complex from the typical user's standpoint.


More information about the NumPy-Discussion mailing list