python - Where can I find the ExcelWriter documentation -
i want work excelwriter class. though excelwriter can called pd.excelwriter in this post, can't find information in pandas api. can find documentation?
you may want read "working python pandas , xlsxwriter" documentation , pandas cookbook io (excel).
another useful option use interactive python shells ipython
or jupyter notebook
- type function/method/constructor name followed ?
(question mark) , press enter
- it'll show docstring
.
demo in ipython
:
in [84]: pd.excelwriter? init signature: pd.excelwriter(path, engine=none, **kwargs) docstring: class writing dataframe objects excel sheets, default use xlwt xls, openpyxl xlsx. see dataframe.to_excel typical usage. parameters ---------- path : string path xls or xlsx file. engine : string (optional) engine use writing. if none, defaults ``io.excel.<extension>.writer``. note: can passed keyword argument. date_format : string, default none format string dates written excel files (e.g. 'yyyy-mm-dd') datetime_format : string, default none format string datetime objects written excel files (e.g. 'yyyy-mm-dd hh:mm:ss') notes ----- compatibility csv writers, excelwriter serializes lists , dicts strings before writing.
Comments
Post a Comment