-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Inconsistent by
meaning in rolling_*
and group_by_rolling
- rename?
#10989
Comments
ah it's in |
Honestly, I think In general, I've mentioned this before, I think |
hmm yeah I do like the sound of that |
I'm just revisiting this, and there's generally two usages of When it's the column you apply the operation according to:
When it means "group by these columns before performing the operation":
I find the contrast between 👍 Agree with But, in addition to / independently of that, could |
per discussion: OK to rename |
@MarcoGorelli Can this be closed now that #14840 is merged? |
I'd say so, yes, thanks for your reviews! |
In
group_by_rolling
,by
tells you which column to group byBut in
rolling_*
(e..grolling_mean
),by
tells you what the index column isPerhaps it should be renamed to
index_column
for consistency withgroup_by_rolling
?I'm not saying that
by
needs aligning everywhere - for example,by
insort
means something completely different, and that's OK. But I think people would expect consistency betweenrolling_*
andgroup_by_rolling
The text was updated successfully, but these errors were encountered: