Skip to content

Commit 9cbe15a

Browse files
authored
rename groupby to group_by (#259)
1 parent ee1fe4c commit 9cbe15a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/API_specification/dataframe_api/dataframe_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def shape(self) -> tuple[int, int]:
6565
Return number of rows and number of columns.
6666
"""
6767

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

spec/API_specification/dataframe_api/groupby_object.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GroupBy:
1414
GroupBy object.
1515
1616
Note that this class is not meant to be constructed by users.
17-
It is returned from `DataFrame.groupby`.
17+
It is returned from `DataFrame.group_by`.
1818
1919
**Methods**
2020

0 commit comments

Comments
 (0)