We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6865f2a commit d226ae5Copy full SHA for d226ae5
pandas/io/excel/_base.py
@@ -754,17 +754,6 @@ class ExcelWriter(metaclass=abc.ABCMeta):
754
>>> with ExcelWriter("path_to_file.xlsx", mode="a", engine="openpyxl") as writer:
755
... df.to_excel(writer, sheet_name="Sheet3")
756
757
- Here, the `if_sheet_exists` parameter can be set to replace a sheet if it
758
- already exists:
759
-
760
- >>> with ExcelWriter(
761
- ... "path_to_file.xlsx",
762
- ... mode="a",
763
- ... engine="openpyxl",
764
- ... if_sheet_exists="replace"
765
- ... ) as writer:
766
- ... df.to_excel(writer, sheet_name="Sheet1")
767
768
You can specify arguments to the underlying engine. For example to not
769
calculate the result of a formula:
770
0 commit comments