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 084b199 commit b75df20Copy full SHA for b75df20
pandas/core/generic.py
@@ -2211,8 +2211,10 @@ def to_excel(
2211
via the options ``io.excel.xlsx.writer`` or
2212
``io.excel.xlsm.writer``.
2213
2214
- merge_cells : bool, default True
2215
- Write MultiIndex and Hierarchical Rows as merged cells.
+ merge_cells : bool or 'columns', default False
+ Write MultiIndex and Hierarchical Rows as merged cells if True.
2216
+ Merge MultiIndex column header cells only if 'columns'.
2217
+
2218
{encoding_parameter}
2219
inf_rep : str, default 'inf'
2220
Representation for infinity (there is no native representation for
0 commit comments