-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
docs(python): Update leftover references of by
parameter to group_by
in DataFrame/LazyFrame.upsample/group_by_dynamic/rolling
#15527
Conversation
@@ -3242,7 +3242,7 @@ def rolling( | |||
""" | |||
Create rolling groups based on a temporal or integer column. | |||
|
|||
Different from a `dynamic_group_by` the windows are now determined by the | |||
Different from a `group_by_dynamic` the windows are now determined by the |
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.
Drive by typo fix. Now aligns with DataFrame
docstring.
of which will be sorted by `index_column` (but note that if `by` columns are | ||
passed, it will only be sorted within each `by` group). | ||
of which will be sorted by `index_column` (but note that if `group_by` | ||
columns are passed, it will only be sorted within each group). |
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.
I think that the by
in "...within each by
group)." isn't needed anymore.
The group_by
parameter name makes it very obvious what the group is.
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.
Nice one @henryharbeck , good one!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15527 +/- ##
=======================================
Coverage 81.14% 81.15%
=======================================
Files 1362 1362
Lines 175007 175007
Branches 2533 2533
=======================================
+ Hits 142014 142031 +17
+ Misses 32509 32491 -18
- Partials 484 485 +1 ☔ View full report in Codecov by Sentry. |
#14840 renamed the
by
parameter togroup_by
inDataFrame.upsample/group_by_dynamic/rolling
LazyFrame.group_by_dynamic/rolling
This PR cleans up remaining references in the docstrings to the old
by
paramter.