Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate cumulative aggregations (#7152)
* Added file to generate docs for cumulatives. generate_cumulatives.py creates _cumulatives.py * Fixed mypy issues * Updated cumulatives to fix mypy issues * Added keep_attrs to groupby funcs * Combined cumulatives and reductions and aggregations and modified dataset cumulative functions. * Merged cumulatives and reductions into aggregations * Removed test print from dataset.py * Removed generate_cumulatives and generate_reductions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated _aggregations with docstring changes * Updated generate_aggregations.py with suggestions from @dcherian. Removed potential solution to #6528. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Removed unecessary function from dataset.py * Removed unecessary function from dataset.py * Updated api.rst, whats-new.rst and added a cumprod test to test_groupby.py * Fixed accidental edit to test_dataset.py * Apply suggestions from code review * Merge and rename reductions and cumulatives to aggregations * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * minor tweaks * Update computation.py * Update generate_aggregations.py * Update .pre-commit-config.yaml * fix mypy * use _group_dim in resample? * Update resample.py * Manually fix docstring * Apply suggestions from code review Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com> * Use TEMPLATE_SEE_ALSO * use default example * add resample test * remove cumulative function in ops * Revert "remove cumulative function in ops" This reverts commit 66e7390. * Add numeric_only=True Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Illviljan <14371165+Illviljan@users.noreply.github.com> Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
- Loading branch information