-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
ENH: Support groupby.ewm operations #37878
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
Changes from 40 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
730571a
Add class to enable groupby ewm
5dd1557
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
2b54756
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
af1d0cf
Add stock function for numba groupby ewma
335d3ab
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
b479dd7
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
4423905
Finish jitted function for groupby_ewma
332b750
Add EWMA indexer, and adjust generated function
1880f2d
push a dummy function
2b181c8
make cache in rolling reuseable by groupby ewma
c6854c6
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
78718da
Add initial tests, fix caching function
722f7d3
Add the appropriate method on groupby
3e2d7dd
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
2070143
Fix conftest and unused params
2af5304
Make ewm reuse BaseWindow._apply
868d736
Remove redefined EWM._apply
da838b3
Cant use super because of np.ndarray copies
0bf6a80
Fix bugs in groupby ewma, add kwargs for groupby ewma
cc0800b
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
19dfd3e
Remove breakpoint
ecbbe76
Add more direct import
2219df6
Add docstring
0feb852
Add corr and tests
7de126f
Format tests and add whatsnew
e3822ba
clarify whatsnew
d03dfdd
Change groupby support
fdc4d66
Rename grouper -> groupby
27955a1
isort
08ca227
Make agg docs more consistent
e862d4f
lint
33b81ba
Deprivatize helper method
a7af894
Change com for typing, asv bench
3e5a216
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
d9e77d2
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
20f0908
Use numba_cache_key instead of 2 variables
0009dfa
Mypy
208e2d8
Remove copy paste error
45e1ba4
Fix groupby tests for new ewm method
fc02c52
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
a0f0017
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
3baa13e
Add tests comparing to groupby.apply
f3800f3
Merge remote-tracking branch 'upstream/master' into feature/groupby_ewma
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
from pandas.core.window.ewm import ExponentialMovingWindow # noqa:F401 | ||
from pandas.core.window.ewm import ( # noqa:F401 | ||
ExponentialMovingWindow, | ||
ExponentialMovingWindowGroupby, | ||
) | ||
from pandas.core.window.expanding import Expanding, ExpandingGroupby # noqa:F401 | ||
from pandas.core.window.rolling import Rolling, RollingGroupby, Window # noqa:F401 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.