Skip to content

Commit f3e1809

Browse files
committed
add to the doc-string a versionadded tag and add Series.to_excel to api.rst
1 parent 92dda6a commit f3e1809

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

doc/source/api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ Serialization / IO / Conversion
692692
Series.to_pickle
693693
Series.to_csv
694694
Series.to_dict
695+
Series.to_excel
695696
Series.to_frame
696697
Series.to_xarray
697698
Series.to_hdf

pandas/core/generic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,8 @@ def __setstate__(self, state):
10191019
_shared_docs['to_excel'] = """
10201020
Write %(klass)s to a excel sheet
10211021
1022+
.. versionadded:: 0.20.0
1023+
10221024
Parameters
10231025
----------
10241026
excel_writer : string or ExcelWriter object

0 commit comments

Comments
 (0)