File tree 3 files changed +12
-6
lines changed
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -9177,11 +9177,11 @@ def groupby(
9177
9177
9178
9178
Parameters
9179
9179
----------%s
9180
- columns : str or object or a list of str
9180
+ columns : label or object or a list of previous
9181
9181
Column to use to make new frame's columns.
9182
- index : str or object or a list of str , optional
9182
+ index : label or object or a list of the previous , optional
9183
9183
Column to use to make new frame's index. If not given, uses existing index.
9184
- values : str , object or a list of the previous, optional
9184
+ values : label , object or a list of the previous, optional
9185
9185
Column(s) to use for populating new frame's values. If not
9186
9186
specified, all remaining columns will be used and the result will
9187
9187
have hierarchically indexed columns.
Original file line number Diff line number Diff line change @@ -1731,10 +1731,16 @@ def name(self) -> Hashable:
1731
1731
"""
1732
1732
Return Index or MultiIndex name.
1733
1733
1734
+ Returns
1735
+ -------
1736
+ label (hashable object)
1737
+ The name of the Index.
1738
+
1734
1739
See Also
1735
1740
--------
1736
1741
Index.set_names: Able to set new names partially and by level.
1737
1742
Index.rename: Able to set new names partially and by level.
1743
+ Series.name: Corresponding Series property.
1738
1744
1739
1745
Examples
1740
1746
--------
Original file line number Diff line number Diff line change @@ -708,11 +708,11 @@ def pivot(
708
708
----------
709
709
data : DataFrame
710
710
Input pandas DataFrame object.
711
- columns : str or object or a list of str
711
+ columns : label or object or a list of the previous
712
712
Column to use to make new frame's columns.
713
- index : str or object or a list of str , optional
713
+ index : label or object or a list of the previous , optional
714
714
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 : label , object or a list 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.
You can’t perform that action at this time.
0 commit comments