Skip to content

Commit 42cc771

Browse files
committed
Modify the description
1 parent c461a74 commit 42cc771

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2212,8 +2212,8 @@ def to_excel(
22122212
``io.excel.xlsm.writer``.
22132213
22142214
merge_cells : bool or 'columns', default False
2215-
Write MultiIndex and Hierarchical Rows as merged cells if True.
2216-
Merge MultiIndex column header cells only if 'columns'.
2215+
If True, write MultiIndex index and columns as merged cells.
2216+
If 'columns', merge MultiIndex column cells only.
22172217
{encoding_parameter}
22182218
inf_rep : str, default 'inf'
22192219
Representation for infinity (there is no native representation for

0 commit comments

Comments
 (0)