-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
GroupBy.shuffle_to_chunks()
(#9320)
* Add GroupBy.shuffle() * Cleanup * Cleanup * fix * return groupby instance from shuffle * Fix nD by * Skip if no dask * fix tests * Add `chunks` to signature * FIx self * Another Self fix * Forward chunks too * [revert] * undo flox limit * [revert] * fix types * Add DataArray.shuffle_by, Dataset.shuffle_by * Add doctest * Refactor * tweak docstrings * fix typing * Fix * fix docstring * bump min version to dask>=2024.08.1 * Fix typing * Fix types * remove shuffle_by for now. * Add tests * Support shuffling with multiple groupers * Revert "remove shuffle_by for now." This reverts commit 7a99c8f. * bad merge * Add a test * Add docs * bugfix * Refactor out Dataset._shuffle * fix types * fix tests * Handle by is chunked * Some refactoring * Remove shuffle_by * shuffle -> distributed_shuffle * return xarray object from distributed_shuffle * fix * fix doctest * fix api * Rename to `shuffle_to_chunks` * update docs
- Loading branch information
Showing
14 changed files
with
421 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.