-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Rank function #1731
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
Comments
@0x0L - I don't think so and I think we'd be open to adding this function. Even better if there is a fallback numpy equivalent but I don't think that would be required. I looked at the (my) whatsnew note from 0.9.2 and I it seems we decided to remove this option until there is a rank method for dataarray/dataset objects. See @shoyer's comment: #1278 (comment) |
Great idea. We use |
A few points:
|
We already do dispatching to appropriate functions based on the dtype for aggregations: xarray/xarray/core/duck_array_ops.py Line 174 in 9d09c16
(Yes, this is a bit of a mess) Since
|
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I think xarray is missing a rank function.
Is there any reason not to expose a wrapper to
bottleneck.nanrankdata
?See also #1635
[edit]
Although moving rank is mentioned in the whats-new for v0.9.2 I wasn't able to find that functionality nor a trace of it in the code :)
The text was updated successfully, but these errors were encountered: