diff --git a/pandas/core/generic.py b/pandas/core/generic.py index f88c26c7bc782..cbeee88d75b51 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -3221,7 +3221,7 @@ def to_csv( and mode is 'zip' or inferred as 'zip', other entries passed as additional compression options. - .. versionchanged:: 0.25.0 + .. versionchanged:: 1.0.0 May now be a dict with key 'method' as compression mode and other entries as additional compression options if