diff --git a/pandas/core/generic.py b/pandas/core/generic.py index ea133e9a83adb..405b989d961fc 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2204,8 +2204,8 @@ def to_excel( Multiple sheets may be written to by specifying unique `sheet_name`. With all data written to the file it is necessary to save the changes. - Note that creating an `ExcelWriter` object with a file name that already - exists will result in the contents of the existing file being erased. + Note that creating an `ExcelWriter` object with a file name that already exists + will overwrite the existing file because the default mode is write. Parameters ----------