@@ -532,15 +532,15 @@ class ExcelWriter(metaclass=abc.ABCMeta):
532
532
533
533
Parameters
534
534
----------
535
- path : string
535
+ path : str
536
536
Path to xls or xlsx file.
537
- engine : string (optional)
537
+ engine : str (optional)
538
538
Engine to use for writing. If None, defaults to
539
539
``io.excel.<extension>.writer``. NOTE: can only be passed as a keyword
540
540
argument.
541
- date_format : string , default None
541
+ date_format : str , default None
542
542
Format string for dates written into Excel files (e.g. 'YYYY-MM-DD')
543
- datetime_format : string , default None
543
+ datetime_format : str , default None
544
544
Format string for datetime objects written into Excel files
545
545
(e.g. 'YYYY-MM-DD HH:MM:SS')
546
546
mode : {'w', 'a'}, default 'w'
@@ -658,11 +658,11 @@ def write_cells(
658
658
----------
659
659
cells : generator
660
660
cell of formatted data to save to Excel sheet
661
- sheet_name : string , default None
661
+ sheet_name : str , default None
662
662
Name of Excel sheet, if None, then use self.cur_sheet
663
663
startrow : upper left cell row to dump data frame
664
664
startcol : upper left cell column to dump data frame
665
- freeze_panes: integer tuple of length 2
665
+ freeze_panes: int tuple of length 2
666
666
contains the bottom-most row and right-most column to freeze
667
667
"""
668
668
pass
@@ -782,10 +782,10 @@ class ExcelFile:
782
782
783
783
Parameters
784
784
----------
785
- io : string , path object (pathlib.Path or py._path.local.LocalPath),
785
+ io : str , path object (pathlib.Path or py._path.local.LocalPath),
786
786
a file-like object, xlrd workbook or openpypl workbook.
787
787
If a string or path object, expected to be a path to xls, xlsx or odf file.
788
- engine : string , default None
788
+ engine : str , default None
789
789
If io is not a buffer or path, this must be set to identify io.
790
790
Acceptable values are None, ``xlrd``, ``openpyxl`` or ``odf``.
791
791
Note that ``odf`` reads tables out of OpenDocument formatted files.
0 commit comments