Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/API_specification/dataframe_api/dataframe_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def shape(self) -> tuple[int, int]:
Return number of rows and number of columns.
"""

def groupby(self, keys: str | list[str], /) -> GroupBy:
def group_by(self, keys: str | list[str], /) -> GroupBy:
"""
Group the DataFrame by the given columns.

Expand Down
2 changes: 1 addition & 1 deletion spec/API_specification/dataframe_api/groupby_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GroupBy:
GroupBy object.

Note that this class is not meant to be constructed by users.
It is returned from `DataFrame.groupby`.
It is returned from `DataFrame.group_by`.

**Methods**

Expand Down