diff --git a/pandas/core/frame.py b/pandas/core/frame.py index b218dd899c8f8..50a93994dc76b 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -6011,8 +6011,8 @@ def reset_index( names : int, str or 1-dimensional list, default None Using the given string, rename the DataFrame column which contains the - index data. If the DataFrame has a MultiIndex, this has to be a list or - 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. .. versionadded:: 1.5.0