File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -2240,9 +2240,10 @@ 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
22452243 {extra_parameters}
2244+ autofilter : bool, default False
2245+ If True, add automatic filters to all columns.
2246+
22462247 See Also
22472248 --------
22482249 to_csv : Write DataFrame to a comma-separated values (csv) file.
Original file line number Diff line number Diff line change @@ -593,6 +593,7 @@ def to_excel(
593593 verbose : bool = True ,
594594 freeze_panes : tuple [int , int ] | None = None ,
595595 storage_options : StorageOptions | None = None ,
596+ autofilter : bool = False ,
596597 ) -> None :
597598 from pandas .io .formats .excel import ExcelFormatter
598599
@@ -606,6 +607,7 @@ def to_excel(
606607 index_label = index_label ,
607608 merge_cells = merge_cells ,
608609 inf_rep = inf_rep ,
610+ autofilter = autofilter ,
609611 )
610612 formatter .write (
611613 excel_writer ,
You can’t perform that action at this time.
0 commit comments