Skip to content

Commit 3e9aaf4

Browse files
authored
[DOC] improving the ExcelWriter docstring (#47568)
improved excelwrite docstring
1 parent f6ba50a commit 3e9aaf4

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

pandas/io/excel/_base.py

+8-5
Original file line numberDiff line numberDiff line change
@@ -871,11 +871,14 @@ class ExcelWriter(metaclass=abc.ABCMeta):
871871
"""
872872
Class for writing DataFrame objects into excel sheets.
873873
874-
Default is to use :
875-
* xlwt for xls
876-
* xlsxwriter for xlsx if xlsxwriter is installed otherwise openpyxl
877-
* odf for ods.
878-
See DataFrame.to_excel for typical usage.
874+
Default is to use:
875+
876+
* `xlwt <https://pypi.org/project/xlwt/>`__ for xls files
877+
* `xlsxwriter <https://pypi.org/project/XlsxWriter/>`__ for xlsx files if xlsxwriter
878+
is installed otherwise `openpyxl <https://pypi.org/project/openpyxl/>`__
879+
* `odswriter <https://pypi.org/project/odswriter/>`__ for ods files
880+
881+
See ``DataFrame.to_excel`` for typical usage.
879882
880883
The writer should be used as a context manager. Otherwise, call `close()` to save
881884
and close any opened file handles.

0 commit comments

Comments
 (0)