File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 26
26
IndexLabel ,
27
27
Level ,
28
28
Scalar ,
29
+ StorageOptions ,
29
30
WriteBuffer ,
30
31
)
31
32
from pandas .compat ._optional import import_optional_dependency
46
47
Series ,
47
48
)
48
49
from pandas .core .generic import NDFrame
50
+ from pandas .core .shared_docs import _shared_docs
49
51
50
52
from pandas .io .formats .format import save_to_buffer
51
53
@@ -542,7 +544,11 @@ def set_tooltips(
542
544
543
545
return self
544
546
545
- @doc (NDFrame .to_excel , klass = "Styler" )
547
+ @doc (
548
+ NDFrame .to_excel ,
549
+ klass = "Styler" ,
550
+ storage_options = _shared_docs ["storage_options" ],
551
+ )
546
552
def to_excel (
547
553
self ,
548
554
excel_writer ,
@@ -561,6 +567,7 @@ def to_excel(
561
567
inf_rep : str = "inf" ,
562
568
verbose : bool = True ,
563
569
freeze_panes : tuple [int , int ] | None = None ,
570
+ storage_options : StorageOptions = None ,
564
571
) -> None :
565
572
566
573
from pandas .io .formats .excel import ExcelFormatter
@@ -583,6 +590,7 @@ def to_excel(
583
590
startcol = startcol ,
584
591
freeze_panes = freeze_panes ,
585
592
engine = engine ,
593
+ storage_options = storage_options ,
586
594
)
587
595
588
596
def to_latex (
You can’t perform that action at this time.
0 commit comments