Skip to content

Commit 6bc6952

Browse files
committed
chore: Added missing documentation
1 parent 90f75a5 commit 6bc6952

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

pandas/core/generic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,6 +2240,8 @@ def to_excel(
22402240
{storage_options}
22412241
22422242
.. versionadded:: {storage_options_versionadded}
2243+
autofilter : bool, default False
2244+
If True, add automatic filters to all columns
22432245
{extra_parameters}
22442246
See Also
22452247
--------

pandas/io/excel/_base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,7 @@ def _write_cells(
12091209
startrow: int = 0,
12101210
startcol: int = 0,
12111211
freeze_panes: tuple[int, int] | None = None,
1212+
autofilter_range: str | None = None,
12121213
) -> None:
12131214
"""
12141215
Write given formatted cells into Excel an excel sheet
@@ -1223,6 +1224,8 @@ def _write_cells(
12231224
startcol : upper left cell column to dump data frame
12241225
freeze_panes: int tuple of length 2
12251226
contains the bottom-most row and right-most column to freeze
1227+
autofilter_range: str, default None
1228+
column ranges to add automatic filters to, for example "A1:D5"
12261229
"""
12271230
raise NotImplementedError
12281231

0 commit comments

Comments
 (0)