Skip to content

Commit

Permalink
DOC: Fixed PR06 docstrings errors in pandas.ExcelWriter (pandas-dev#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraCollard authored and Nico Cernek committed Jan 1, 2020
1 parent 5c4887c commit cb8343e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pandas/io/excel/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,15 +532,15 @@ class ExcelWriter(metaclass=abc.ABCMeta):
Parameters
----------
path : string
path : str
Path to xls or xlsx file.
engine : string (optional)
engine : str (optional)
Engine to use for writing. If None, defaults to
``io.excel.<extension>.writer``. NOTE: can only be passed as a keyword
argument.
date_format : string, default None
date_format : str, default None
Format string for dates written into Excel files (e.g. 'YYYY-MM-DD')
datetime_format : string, default None
datetime_format : str, default None
Format string for datetime objects written into Excel files
(e.g. 'YYYY-MM-DD HH:MM:SS')
mode : {'w', 'a'}, default 'w'
Expand Down Expand Up @@ -658,11 +658,11 @@ def write_cells(
----------
cells : generator
cell of formatted data to save to Excel sheet
sheet_name : string, default None
sheet_name : str, default None
Name of Excel sheet, if None, then use self.cur_sheet
startrow : upper left cell row to dump data frame
startcol : upper left cell column to dump data frame
freeze_panes: integer tuple of length 2
freeze_panes: int tuple of length 2
contains the bottom-most row and right-most column to freeze
"""
pass
Expand Down Expand Up @@ -782,10 +782,10 @@ class ExcelFile:
Parameters
----------
io : string, path object (pathlib.Path or py._path.local.LocalPath),
io : str, path object (pathlib.Path or py._path.local.LocalPath),
a file-like object, xlrd workbook or openpypl workbook.
If a string or path object, expected to be a path to xls, xlsx or odf file.
engine : string, default None
engine : str, default None
If io is not a buffer or path, this must be set to identify io.
Acceptable values are None, ``xlrd``, ``openpyxl`` or ``odf``.
Note that ``odf`` reads tables out of OpenDocument formatted files.
Expand Down

0 comments on commit cb8343e

Please sign in to comment.