Skip to content

Commit a95127b

Browse files
committed
1 parent f25957d commit a95127b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

pandas/core/frame.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9177,11 +9177,11 @@ def groupby(
91779177
91789178
Parameters
91799179
----------%s
9180-
columns : label or object or a list of previous
9180+
columns : label or a sequence of the previous
91819181
Column to use to make new frame's columns.
9182-
index : label or object or a list of the previous, optional
9182+
index : label or a sequence of the previous, optional
91839183
Column to use to make new frame's index. If not given, uses existing index.
9184-
values : label, object or a list of the previous, optional
9184+
values : label or a sequence of the previous, optional
91859185
Column(s) to use for populating new frame's values. If not
91869186
specified, all remaining columns will be used and the result will
91879187
have hierarchically indexed columns.
@@ -9320,12 +9320,12 @@ def pivot(
93209320
----------%s
93219321
values : list-like or scalar, optional
93229322
Column or columns to aggregate.
9323-
index : column, Grouper, array, or list of the previous
9323+
index : column, Grouper, array, or sequence of the previous
93249324
Keys to group by on the pivot table index. If a list is passed,
93259325
it can contain any of the other types (except list). If an array is
93269326
passed, it must be the same length as the data and will be used in
93279327
the same manner as column values.
9328-
columns : column, Grouper, array, or list of the previous
9328+
columns : column, Grouper, array, or sequence of the previous
93299329
Keys to group by on the pivot table column. If a list is passed,
93309330
it can contain any of the other types (except list). If an array is
93319331
passed, it must be the same length as the data and will be used in

pandas/core/reshape/pivot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ def pivot_table(
7676
Input pandas DataFrame object.
7777
values : list-like or scalar, optional
7878
Column or columns to aggregate.
79-
index : column, Grouper, array, or list of the previous
79+
index : column, Grouper, array, or sequence of the previous
8080
Keys to group by on the pivot table index. If a list is passed,
8181
it can contain any of the other types (except list). If an array is
8282
passed, it must be the same length as the data and will be used in
8383
the same manner as column values.
84-
columns : column, Grouper, array, or list of the previous
84+
columns : column, Grouper, array, or sequence of the previous
8585
Keys to group by on the pivot table column. If a list is passed,
8686
it can contain any of the other types (except list). If an array is
8787
passed, it must be the same length as the data and will be used in
@@ -708,11 +708,11 @@ def pivot(
708708
----------
709709
data : DataFrame
710710
Input pandas DataFrame object.
711-
columns : label or object or a list of the previous
711+
columns : label or a sequence of the previous
712712
Column to use to make new frame's columns.
713-
index : label or object or a list of the previous, optional
713+
index : label or a sequence of the previous, optional
714714
Column to use to make new frame's index. If not given, uses existing index.
715-
values : label, object or a list of the previous, optional
715+
values : label or a sequence of the previous, optional
716716
Column(s) to use for populating new frame's values. If not
717717
specified, all remaining columns will be used and the result will
718718
have hierarchically indexed columns.

0 commit comments

Comments
 (0)