-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
REGR: window ewm slowdown #43052
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
REGR: window ewm slowdown #43052
Conversation
mzeitlin11
commented
Aug 15, 2021
- closes REGR: rolling.EWMMethods.time_ewm #42333
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry (will move once 1.3.3 notes merged)
nice speedup, cc @mroeschke |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep lgtm
doc/source/whatsnew/v1.3.2.rst
Outdated
@@ -15,6 +15,7 @@ including other versions of pandas. | |||
Fixed regressions | |||
~~~~~~~~~~~~~~~~~ | |||
- Performance regression in :meth:`DataFrame.isin` and :meth:`Series.isin` for nullable data types (:issue:`42714`) | |||
- Performance regression in :meth:`core.window.ewm.ExponentialMovingWindow.mean` (:issue:`42333`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to 1.3.3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -1489,7 +1489,7 @@ def roll_weighted_var(const float64_t[:] values, const float64_t[:] weights, | |||
|
|||
def ewma(const float64_t[:] vals, const int64_t[:] start, const int64_t[:] end, | |||
int minp, float64_t com, bint adjust, bint ignore_na, | |||
const float64_t[:] deltas) -> np.ndarray: | |||
const float64_t[:] deltas=None) -> np.ndarray: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u update the doc string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
thanks @mzeitlin11 |
@meeseeksdev backport 1.3.x |
Something went wrong ... Please have a look at my logs. |
Co-authored-by: Matthew Zeitlin <[email protected]>