Replies: 1 comment 1 reply
-
Thanks for starting a discussion @mgunyho My initial sense is this may be too specific to add a method for (though people should 👍 if they have the same issue). But I wonder whether we could make this easier using the more general methods — e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm frequently using something like
to reassign the coordinates using a callable. However, usually, I have more descriptive names than
da
andx
, so I end up having to type a lot:I was hoping that there could be a way to remap the coordinates using a function, without having to retype the array and coordinate name, like
I see that it's possible to pass a Callable to
assign_coords
, but that is computed on the whole array (da
in the first example) and not on the coordinate. Have I missed something, is something like this possible with the current API? Or should I raise an issue about this?Beta Was this translation helpful? Give feedback.
All reactions