Skip to content

ENH: ExponentialMovingWindow.sum #43871

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

Merged
merged 13 commits into from
Oct 6, 2021
Merged

Conversation

mroeschke
Copy link
Member

  • closes ENH: EWM Sum? #13297
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@mroeschke mroeschke added Enhancement Window rolling, ewma, expanding labels Oct 4, 2021
@jreback jreback added this to the 1.4 milestone Oct 4, 2021
@@ -467,15 +467,25 @@ def aggregate(self, func, *args, **kwargs):
def mean(self, *args, engine=None, engine_kwargs=None, **kwargs):
if maybe_use_numba(engine):
if self.method == "single":
ewma_func = generate_numba_ewma_func(
engine_kwargs, self._com, self.adjust, self.ignore_na, self._deltas
ewma_func = generate_numba_ewm_func(
Copy link
Contributor

Choose a reason for hiding this comment

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

same as below

@jreback jreback merged commit 74b59a3 into pandas-dev:master Oct 6, 2021
@jreback
Copy link
Contributor

jreback commented Oct 6, 2021

thanks @mroeschke nice!

@mroeschke mroeschke deleted the enh/ewm_sum branch October 6, 2021 16:49
gasparitiago pushed a commit to gasparitiago/pandas that referenced this pull request Oct 9, 2021
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request Oct 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Window rolling, ewma, expanding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENH: EWM Sum?
2 participants