@@ -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 : str or object or a list of str
711+ columns : Hashable or a sequence of the previous
712712 Column to use to make new frame's columns.
713- index : str or object or a list of str , optional
713+ index : Hashable 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 : str, object or a list of the previous, optional
715+ values : Hashable 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