-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multidimensional reindex #1553
Labels
Comments
Suggestion about the coordinate dropping rule for
Which we would use with normal rule for dimension/non-dimension coordinates:
|
2 tasks
For the case of a simple vectorized
Example:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From a discussion in #1473 comment
It would be convenient if we have multi-dimensional
reindex
method, where we consider dimensions and coordinates of indexers.The proposed outline by @shoyer is
reindex
arguments of the formdim=array
wherearray
is a 1D unlabeled array/list, convert them intoDataArray(array, [(dim, array)])
.sel
, but fill inNaN
for missing values (we could allow for customizing this with afill_value
argument).sel
, but coordinates from the indexers take precedence over coordinates from the object being indexed.The text was updated successfully, but these errors were encountered: