Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-additional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.5.2
uses: codecov/codecov-action@v6.0.0
with:
files: mypy_report/cobertura.xml
flags: mypy
Expand Down Expand Up @@ -177,7 +177,7 @@ jobs:
pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report

- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.5.2
uses: codecov/codecov-action@v6.0.0
with:
files: mypy_report/cobertura.xml
flags: mypy-min
Expand Down Expand Up @@ -276,7 +276,7 @@ jobs:
pixi run -e ${{ matrix.pixi-env }} -- python -m pyright xarray/

- name: Upload pyright coverage to Codecov
uses: codecov/codecov-action@v5.5.2
uses: codecov/codecov-action@v6.0.0
with:
files: pyright_report/cobertura.xml
flags: pyright
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
path: pytest.xml

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v5.5.2
uses: codecov/codecov-action@v6.0.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upstream-dev-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
run: |
pixi run -e ${{matrix.pixi-env}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
- name: Upload mypy coverage to Codecov
uses: codecov/codecov-action@v5.5.2
uses: codecov/codecov-action@v6.0.0
with:
files: mypy_report/cobertura.xml
flags: mypy
Expand Down
6 changes: 4 additions & 2 deletions asv_bench/benchmarks/groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@ def time_init(self, ndim):
getattr(self, f"ds{ndim}d").groupby("b")

@parameterized(
["method", "ndim", "use_flox"], [("sum", "mean"), (1, 2), (True, False)]
["method", "ndim", "use_flox"],
[("sum", "mean", "cumsum"), (1, 2), (True, False)],
)
def time_agg_small_num_groups(self, method, ndim, use_flox):
ds = getattr(self, f"ds{ndim}d")
with xr.set_options(use_flox=use_flox):
getattr(ds.groupby("a"), method)().compute()

@parameterized(
["method", "ndim", "use_flox"], [("sum", "mean"), (1, 2), (True, False)]
["method", "ndim", "use_flox"],
[("sum", "mean", "cumsum"), (1, 2), (True, False)],
)
def time_agg_large_num_groups(self, method, ndim, use_flox):
ds = getattr(self, f"ds{ndim}d")
Expand Down
10 changes: 10 additions & 0 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,13 @@ Documentation
- Fix code blocks on "how to create custom index" doc page (:pull:`11255`).
By `Nick Hodgskin <https://github.com/VeckoTheGecko>`_.

Performance
~~~~~~~~~~~

- Groupby cumsum can now be accelerated with flox. Coordinates are now retained
as well. (:issue:`6528`, :pull:`10987`)
By `Jimmy Westling <https://github.com/illviljan>`_.

Internal Changes
~~~~~~~~~~~~~~~~

Expand Down Expand Up @@ -345,6 +352,9 @@ Performance

- Add a fastpath to the backend plugin system for standard engines (:issue:`10178`, :pull:`10937`).
By `Sam Levang <https://github.com/slevang>`_.
- Groupby cumsum can now be accelerated with flox. Coordinates are now retained
as well. (:issue:`6528`, :pull:`10987`)
By `Jimmy Westling <https://github.com/illviljan>`_.
- Optimize :py:class:`~xarray.coding.variables.CFMaskCoder` decoder (:pull:`11105`).
By `Deepak Cherian <https://github.com/dcherian>`_.

Expand Down
Loading
Loading