Skip to content

Rename groupby to group_by #259

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 1 commit into from
Sep 15, 2023
Merged

Conversation

MarcoGorelli
Copy link
Contributor

@MarcoGorelli MarcoGorelli commented Sep 13, 2023

This is what the ecosystem generally does:

  • SQL has GROUP BY
  • pyspark has groupBy (note that the B is capitalised, as it's the start of a new word)
  • dplyr has group_by
  • polars has group_by
  • it's two words

I guess the only reason it's currently groupby is because that's what pandas did?

But that API is now so far away from pandas anyway, so I suggest we follow the broader ecosystem

@MarcoGorelli
Copy link
Contributor Author

verbally approved in the last call, and nobody's objected - merging then, but if anyone objects I can revert

@MarcoGorelli MarcoGorelli merged commit 9cbe15a into data-apis:main Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant