-
-
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
DataArray transpose inconsistent with Dataset Ellipsis usage #4647
Comments
IMO this should raise an error too |
I actually like it handling non_existing_dims automatically; maybe could be keyword though: |
Yes i think |
Hey! Can I work on this? |
Sure.
…On Sat, Jan 2, 2021, 6:38 AM Daniel Mesejo-León ***@***.***> wrote:
Hey! Can I work on this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4647 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADU7FFVUS2TTAA6MRGX5G73SX4HSRANCNFSM4UMKLBWQ>
.
|
Hey, I was working on this and notice that transpose uses the method As a side-note I also noted that the return value of |
Yes, agree this should be changed in Fine to update the return type if it changes, but no need to coerce it premptively. Thanks! |
…psis usage - Add missing_dims parameter to transpose to mimic isel behavior - Add missing_dims to infix_dims to make function consistent across different methods.
…psis usage - Add missing_dims parameter to transpose to mimic isel behavior - Add missing_dims to infix_dims to make function consistent across different methods.
…psis usage - Add missing_dims parameter to transpose to mimic isel behavior - Add missing_dims to infix_dims to make function consistent across different methods.
…psis usage - Add missing_dims parameter to transpose to mimic isel behavior - Add missing_dims to infix_dims to make function consistent across different methods.
…sage (#4767) - Add missing_dims parameter to transpose to mimic isel behavior - Add missing_dims to infix_dims to make function consistent across different methods. Co-authored-by: Maximilian Roos <[email protected]>
This works:
This doesn't (subset air):
The error message is a bit inaccurate too since I do have Ellipsis included; might be related to two calls of:
dims = tuple(utils.infix_dims(dims, self.dims))
The text was updated successfully, but these errors were encountered: