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

Add cumsum to DatasetGroupBy #6525

Merged
merged 17 commits into from
Jul 20, 2022
Merged

Add cumsum to DatasetGroupBy #6525

merged 17 commits into from
Jul 20, 2022

Conversation

dcherian
Copy link
Contributor

@dcherian dcherian commented Apr 27, 2022

Copy link
Collaborator

@max-sixty max-sixty left a comment

Choose a reason for hiding this comment

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

Your call, but I would vote to merge with the existing index issue...

@dcherian
Copy link
Contributor Author

Your call, but I would vote to merge with the existing index issue...

Modified the test, it is quite buggy for Datasets

dcherian and others added 6 commits April 28, 2022 09:30
* main:
  Pin version of black in pre-commit blackdoc (pydata#6492)
  Scale numfocus image in readme (pydata#6519)
  Use new importlib.metadata.entry_points interface where available. (pydata#6516)
  Add a badge for binder (pydata#6518)
  Bump codecov/codecov-action from 3.0.0 to 3.1.0 (pydata#6509)
* upstream/main:
  Add a slighly cheesy contributors panel to readme (pydata#6520)
  Fix doctest & mypy CI jobs (pydata#6535)
  Attempt to improve CI caching (pydata#6534)
  Attempt to consolidate tests in CI (pydata#6533)
  Restrict annotations to a single run in GHA (pydata#6532)
  Fix some mypy issues (pydata#6531)
xarray/tests/test_groupby.py Outdated Show resolved Hide resolved
Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com>
xarray/core/groupby.py Outdated Show resolved Hide resolved
xarray/core/groupby.py Outdated Show resolved Hide resolved
@andersy005
Copy link
Member

@dcherian, are you still working on this or can we merge it?

@dcherian
Copy link
Contributor Author

We could merge. The outstanding issue to fix is actually #6528

@Illviljan Illviljan added the plan to merge Final call for comments label Jul 16, 2022
@dcherian dcherian merged commit dabd977 into pydata:main Jul 20, 2022
@dcherian dcherian deleted the groupby-cumsum branch July 20, 2022 01:31
dcherian added a commit to keewis/xarray that referenced this pull request Jul 22, 2022
* main: (313 commits)
  Update whats-new
  Release notes for v2022.06.0 (pydata#6815)
  Drop multi-indexes when assigning to a multi-indexed variable (pydata#6798)
  Support NumPy array API (experimental) (pydata#6804)
  Add cumsum to DatasetGroupBy (pydata#6525)
  Refactor groupby binary ops code. (pydata#6789)
  Update DataArray.rename + docu (pydata#6665)
  Switch to T_DataArray and T_Dataset in concat (pydata#6784)
  Fix typos found by codespell (pydata#6794)
  Update groupby attrs tests (pydata#6787)
  Update map_blocks to use chunksizes property. (pydata#6776)
  Fix `DataArrayRolling.__iter__` with `center=True` (pydata#6744)
  [test-upstream] Update flox repo URL (pydata#6780)
  Move _infer_meta_data and _parse_size to utils (pydata#6779)
  Make the `sel` error more descriptive when `method` is unset (pydata#6774)
  Move Rolling tests to their own testing module (pydata#6777)
  [pre-commit.ci] pre-commit autoupdate (pydata#6773)
  move da and ds fixtures to conftest.py (pydata#6730)
  Bump EnricoMi/publish-unit-test-result-action from 1 to 2 (pydata#6770)
  Type shape methods (pydata#6767)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to merge Final call for comments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

calculating cumsums on a groupby object
5 participants