-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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 |
mroeschke
left a comment
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
jreback
left a comment
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
| 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
| 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]>