Skip to content
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

Support duck arrays by default #132

Merged
merged 7 commits into from
Aug 16, 2022
Merged

Support duck arrays by default #132

merged 7 commits into from
Aug 16, 2022

Conversation

dcherian
Copy link
Collaborator

@dcherian dcherian commented Aug 9, 2022

xref #128

This really only works with engine="numpy" for anything that uses bincount (mean, sum, std, var) and when we are grouping by a numpy array.

So something like groupby("time.month").mean(engine="numpy")

@dcherian dcherian changed the title Add duck array support Support duck arrays by default Aug 9, 2022
@@ -5,6 +5,7 @@ dependencies:
- dask-core
- pip
- xarray
- numpy>=1.20
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Illviljan i'm bumping minimum numpy here. So PRs to improve the typing using the new numpy types would be very welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch default engine to "numpy"
1 participant