We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bcd303 commit 5b0b12cCopy full SHA for 5b0b12c
pandas/core/generic.py
@@ -2252,6 +2252,12 @@ def to_excel(
2252
and cell character count does not exceed Excel's limitations.
2253
All other limitations must be checked by the user.
2254
2255
+ Excel treats any cell starting with `=` as a formula, which can pose security
2256
+ risks. To store such content as plain text, prepend an apostrophe (`'`), e.g.,
2257
+ change `"=foobar"` to `"'=foobar"`. For `xlsxwriter`, you can use
2258
+ `engine_kwargs={"options": {"strings_to_formulas": False}}` to disable formula
2259
+ interpretation without prepending an apostrophe.
2260
+
2261
Examples
2262
--------
2263
0 commit comments