We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db80cab commit c030abfCopy full SHA for c030abf
pandas/core/frame.py
@@ -6011,8 +6011,8 @@ def reset_index(
6011
6012
names : int, str or 1-dimensional list, default None
6013
Using the given string, rename the DataFrame column which contains the
6014
- index data. If the DataFrame has a MultiIndex, this has to be a list or
6015
- tuple with length equal to the number of levels.
+ index data. If the DataFrame has a MultiIndex, this has to be a list
+ with length equal to the number of levels.
6016
6017
.. versionadded:: 1.5.0
6018
0 commit comments