Skip to content

Commit 172257a

Browse files
committed
Notice explicitly ExcelWriter hasn't public methods and properties
1 parent a416f92 commit 172257a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pandas/io/excel.py

+11
Original file line numberDiff line numberDiff line change
@@ -824,17 +824,28 @@ class ExcelWriter(object):
824824
825825
Notes
826826
-----
827+
None of methods and properties are considered public.
828+
827829
For compatibility with CSV writers, ExcelWriter serializes lists
828830
and dicts to strings before writing.
829831
830832
Examples
831833
--------
834+
832835
In order to write separate DataFrames to separate sheets
833836
in a single Excel file, one can pass an ExcelWriter.
834837
835838
>>> with ExcelWriter('path_to_file.xlsx') as writer:
836839
... df1.to_excel(writer, sheet_name='Sheet1')
837840
... df2.to_excel(writer, sheet_name='Sheet2')
841+
842+
Attributes
843+
----------
844+
None
845+
846+
Methods
847+
-------
848+
None
838849
"""
839850
# Defining an ExcelWriter implementation (see abstract methods for more...)
840851

0 commit comments

Comments
 (0)