Closed
Description
I'd like to revisit the discussion from #177 about adding support for indexing with arrays of indices, because this is by far the largest missing gap in functionality required for Xarray.
My specific proposal would be to standardize indexing with a tuple of length equal to the number of array dimensions, where each element in the indexing tuple is either (1) an integer or (2) an integer array. This avoids all the messy edge cases in NumPy related to mixing slices & arrays.
The last time we talked about it, integer indexing via __getitem__
somehow got held up on discussions of mutability with __setitem__
. Mutability would be worth resolving at some point, for sure, but IMO is a rather different topics.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Stage 0