You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do the equivalent of asarray(t)[fancy_indexing] but return a DataArray instance, just that it has all its axes unnamed and unlabeled.
once the above is working, we can try to define for which cases the semantics of what axes/labels survive the indexing operation are, and implement those.
An example where you manually pick out elements, for example, will necessarily drop dimensions, and something like this can't really preserve any labels/axes, since the output's geometry has nothing to do with the input:
In [110]: a = arange(12).reshape(3,4)
...: b = a[[(1,2,1),(0,1,3)]]
...: print a
...: print b
[[ 0 1 2 3]
[ 4 5 6 7]
[ 8 9 10 11]]
[4 9 7]
Currently fancy indexing isn't supported at all.
The text was updated successfully, but these errors were encountered: