Skip to content

Commit db9f6c5

Browse files
committed
DOC: Include documentation in response to bug pandas-dev#19497 fix.
1 parent 37ceb5d commit db9f6c5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/core/frame.py

+4
Original file line numberDiff line numberDiff line change
@@ -3642,6 +3642,10 @@ def rename(self, *args, **kwargs):
36423642
level : int or level name, default None
36433643
In case of a MultiIndex, only rename labels in the specified
36443644
level.
3645+
tupleize_cols : boolean, default False
3646+
In case of an Index, when True, create MultiIndex if possible.
3647+
False ensures that an Index will not be converted to a
3648+
MultiIndex if labels are 'rename'd.
36453649
36463650
Returns
36473651
-------

0 commit comments

Comments
 (0)