@@ -76,12 +76,12 @@ def pivot_table(
76
76
Input pandas DataFrame object.
77
77
values : list-like or scalar, optional
78
78
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
80
80
Keys to group by on the pivot table index. If a list is passed,
81
81
it can contain any of the other types (except list). If an array is
82
82
passed, it must be the same length as the data and will be used in
83
83
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
85
85
Keys to group by on the pivot table column. If a list is passed,
86
86
it can contain any of the other types (except list). If an array is
87
87
passed, it must be the same length as the data and will be used in
@@ -708,11 +708,11 @@ def pivot(
708
708
----------
709
709
data : DataFrame
710
710
Input pandas DataFrame object.
711
- columns : label or object or a list of the previous
711
+ columns : label or a sequence of the previous
712
712
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
714
714
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
716
716
Column(s) to use for populating new frame's values. If not
717
717
specified, all remaining columns will be used and the result will
718
718
have hierarchically indexed columns.
0 commit comments