Skip to content

Commit

Permalink
groupby: Dispatch quantile to flox. (#8720)
Browse files Browse the repository at this point in the history
* groupby: Dispatch median, quantile to flox.

* bump min flox version

* Add test for chunked dataarrays

* Cleanup

* Disable median for now.

* update whats-new

* update whats-new

* bump min flox version

* add requires_dask

* restore dim order

* fix whats-new

* Fix doctest

* cleanup

* Update xarray/core/groupby.py

* Fix mypy
  • Loading branch information
dcherian authored Mar 26, 2024
1 parent aaf3b7e commit ee02113
Show file tree
Hide file tree
Showing 5 changed files with 99 additions and 134 deletions.
2 changes: 2 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ v2024.03.0 (unreleased)
New Features
~~~~~~~~~~~~

- Grouped and resampling quantile calculations now use the vectorized algorithm in ``flox>=0.9.4`` if present.
By `Deepak Cherian <https://github.com/dcherian>`_.
- Do not broadcast in arithmetic operations when global option ``arithmetic_broadcast=False``
(:issue:`6806`, :pull:`8784`).
By `Etienne Schalk <https://github.com/etienneschalk>`_ and `Deepak Cherian <https://github.com/dcherian>`_.
Expand Down
Loading

0 comments on commit ee02113

Please sign in to comment.