From 81de56019b76d4318fa65df7ac01a8456c435eff Mon Sep 17 00:00:00 2001 From: abokey1 <113783165+abokey1@users.noreply.github.com> Date: Sun, 26 Mar 2023 15:24:36 +0200 Subject: [PATCH] DOC: Clarifies the description of if_sheet_exists in pd.ExcelWriter (#52189) --- pandas/io/excel/_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index 3c1ecffe21353..8c3bbb7798f68 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -942,8 +942,8 @@ class ExcelWriter(metaclass=abc.ABCMeta): * error: raise a ValueError. * new: Create a new sheet, with a name determined by the engine. * replace: Delete the contents of the sheet before writing to it. - * overlay: Write contents to the existing sheet without removing the old - contents. + * overlay: Write contents to the existing sheet without first removing, + but possibly over top of, the existing contents. .. versionadded:: 1.3.0