Skip to content

Commit

Permalink
Save groupby codes after factorizing, pass to flox (#7206)
Browse files Browse the repository at this point in the history
* Save groupby codes after factorizing

* Fix tests

* Fix cftime resampling

* Fix resampling codes.

* codes is always a DataArray.

* cleanup

* WIP

* Revert "WIP"

This reverts commit c9e2a62.

* Fix doctests

* Fix cftime resampling

Fix cftime resampling

* Better resampling example code.

* Fix test.

* Fix bad merge

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Try fixing some typing

* Avoid warning

* Fix typing

* Add regression  test for #7601

Closes #7601

* Cleanup + fix typnig

* Typing run

* Fix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Illviljan <[email protected]>
  • Loading branch information
3 people authored Mar 29, 2023
1 parent 4fc8445 commit 0ac5541
Show file tree
Hide file tree
Showing 7 changed files with 364 additions and 264 deletions.
156 changes: 78 additions & 78 deletions xarray/core/_aggregations.py

Large diffs are not rendered by default.

Loading

0 comments on commit 0ac5541

Please sign in to comment.