diff --git a/pandas/core/frame.py b/pandas/core/frame.py index 685ed9f972a32..1d86c81745a6a 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1902,7 +1902,7 @@ def to_dict( is 'tight') in the returned dictionary. Can only be ``False`` when `orient` is 'split' or 'tight'. - .. versionadded:: 1.6.0 + .. versionadded:: 2.0.0 Returns ------- diff --git a/pandas/core/methods/to_dict.py b/pandas/core/methods/to_dict.py index d187ed10c5798..f1cca4fd7ac50 100644 --- a/pandas/core/methods/to_dict.py +++ b/pandas/core/methods/to_dict.py @@ -60,7 +60,7 @@ def to_dict( is 'tight') in the returned dictionary. Can only be ``False`` when `orient` is 'split' or 'tight'. - .. versionadded:: 1.6.0 + .. versionadded:: 2.0.0 Returns -------