Skip to content

Commit 0da9209

Browse files
Backport PR #41844: DOC: Add .to_xyz to io docs (#42060)
Co-authored-by: Griffin Ansel <[email protected]>
1 parent 796e205 commit 0da9209

File tree

1 file changed

+47
-3
lines changed

1 file changed

+47
-3
lines changed

doc/source/reference/io.rst

+47-3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Pickling
1313
:toctree: api/
1414

1515
read_pickle
16+
DataFrame.to_pickle
1617

1718
Flat file
1819
~~~~~~~~~
@@ -21,6 +22,7 @@ Flat file
2122

2223
read_table
2324
read_csv
25+
DataFrame.to_csv
2426
read_fwf
2527

2628
Clipboard
@@ -29,30 +31,41 @@ Clipboard
2931
:toctree: api/
3032

3133
read_clipboard
34+
DataFrame.to_clipboard
3235

3336
Excel
3437
~~~~~
3538
.. autosummary::
3639
:toctree: api/
3740

3841
read_excel
42+
DataFrame.to_excel
3943
ExcelFile.parse
4044

45+
.. currentmodule:: pandas.io.formats.style
46+
47+
.. autosummary::
48+
:toctree: api/
49+
50+
Styler.to_excel
51+
52+
.. currentmodule:: pandas
53+
4154
.. autosummary::
4255
:toctree: api/
4356
:template: autosummary/class_without_autosummary.rst
4457

4558
ExcelWriter
4659

60+
.. currentmodule:: pandas.io.json
61+
4762
JSON
4863
~~~~
4964
.. autosummary::
5065
:toctree: api/
5166

5267
read_json
53-
json_normalize
54-
55-
.. currentmodule:: pandas.io.json
68+
to_json
5669

5770
.. autosummary::
5871
:toctree: api/
@@ -67,13 +80,40 @@ HTML
6780
:toctree: api/
6881

6982
read_html
83+
DataFrame.to_html
84+
85+
.. currentmodule:: pandas.io.formats.style
86+
87+
.. autosummary::
88+
:toctree: api/
89+
90+
Styler.to_html
91+
92+
.. currentmodule:: pandas
7093

7194
XML
7295
~~~~
7396
.. autosummary::
7497
:toctree: api/
7598

7699
read_xml
100+
DataFrame.to_xml
101+
102+
Latex
103+
~~~~~
104+
.. autosummary::
105+
:toctree: api/
106+
107+
DataFrame.to_latex
108+
109+
.. currentmodule:: pandas.io.formats.style
110+
111+
.. autosummary::
112+
:toctree: api/
113+
114+
Styler.to_latex
115+
116+
.. currentmodule:: pandas
77117

78118
HDFStore: PyTables (HDF5)
79119
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -101,13 +141,15 @@ Feather
101141
:toctree: api/
102142

103143
read_feather
144+
DataFrame.to_feather
104145

105146
Parquet
106147
~~~~~~~
107148
.. autosummary::
108149
:toctree: api/
109150

110151
read_parquet
152+
DataFrame.to_parquet
111153

112154
ORC
113155
~~~
@@ -138,6 +180,7 @@ SQL
138180
read_sql_table
139181
read_sql_query
140182
read_sql
183+
DataFrame.to_sql
141184

142185
Google BigQuery
143186
~~~~~~~~~~~~~~~
@@ -152,6 +195,7 @@ STATA
152195
:toctree: api/
153196

154197
read_stata
198+
DataFrame.to_stata
155199

156200
.. currentmodule:: pandas.io.stata
157201

0 commit comments

Comments
 (0)