From 9c44ded8e4e594761b4a60f79e9db2f3980e79b9 Mon Sep 17 00:00:00 2001 From: Griffin Ansel <59709552+gansel51@users.noreply.github.com> Date: Sun, 6 Jun 2021 19:00:07 -0400 Subject: [PATCH 1/8] Update io.rst --- doc/source/reference/io.rst | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 442631de50c7a..09ffbbb46b2d3 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -13,6 +13,7 @@ Pickling :toctree: api/ read_pickle + to_pickle Flat file ~~~~~~~~~ @@ -21,6 +22,7 @@ Flat file read_table read_csv + to_csv read_fwf Clipboard @@ -29,6 +31,7 @@ Clipboard :toctree: api/ read_clipboard + DataFrame.to_clipboard Excel ~~~~~ @@ -36,6 +39,7 @@ Excel :toctree: api/ read_excel + DataFrame.to_excel ExcelFile.parse .. autosummary:: @@ -43,17 +47,18 @@ Excel :template: autosummary/class_without_autosummary.rst ExcelWriter - + +.. currentmodule:: pandas.io +.. currentmodule:: pandas.io.json JSON ~~~~ .. autosummary:: :toctree: api/ read_json + to_json json_normalize -.. currentmodule:: pandas.io.json - .. autosummary:: :toctree: api/ @@ -67,6 +72,7 @@ HTML :toctree: api/ read_html + DataFrame.to_html XML ~~~~ @@ -74,6 +80,7 @@ XML :toctree: api/ read_xml + DataFrame.to_xml HDFStore: PyTables (HDF5) ~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -101,6 +108,7 @@ Feather :toctree: api/ read_feather + DataFrame.to_feather Parquet ~~~~~~~ @@ -108,6 +116,7 @@ Parquet :toctree: api/ read_parquet + DataFrame.to_parquet ORC ~~~ @@ -138,6 +147,7 @@ SQL read_sql_table read_sql_query read_sql + DataFrame.to_sql Google BigQuery ~~~~~~~~~~~~~~~ @@ -145,6 +155,7 @@ Google BigQuery :toctree: api/ read_gbq + DataFrame.to_gpq STATA ~~~~~ @@ -152,6 +163,7 @@ STATA :toctree: api/ read_stata + DataFrame.to_stata .. currentmodule:: pandas.io.stata From 7fe50bce28d71b31d554dff2a07802cd4bbbfcd3 Mon Sep 17 00:00:00 2001 From: Griffin Ansel <59709552+gansel51@users.noreply.github.com> Date: Sun, 6 Jun 2021 19:02:14 -0400 Subject: [PATCH 2/8] Modifying DataFrame.to_csv to reflect location. --- doc/source/reference/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 09ffbbb46b2d3..4a67634a2d2ad 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -22,7 +22,7 @@ Flat file read_table read_csv - to_csv + DataFrame.to_csv read_fwf Clipboard From 84a6d9e9478ee33c375bf3f30988297fba857be7 Mon Sep 17 00:00:00 2001 From: Griffin Ansel Date: Mon, 7 Jun 2021 11:59:05 -0400 Subject: [PATCH 3/8] DOC: Adding LaTeX section and Styler methods. --- doc/source/reference/io.rst | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 4a67634a2d2ad..e054b9763d8e2 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -42,13 +42,18 @@ Excel DataFrame.to_excel ExcelFile.parse +.. currentmodule:: pandas.io.formats.style +.. autosummary:: + :toctree: api/ + + Styler.to_excel + .. autosummary:: :toctree: api/ :template: autosummary/class_without_autosummary.rst ExcelWriter - -.. currentmodule:: pandas.io + .. currentmodule:: pandas.io.json JSON ~~~~ @@ -74,6 +79,13 @@ HTML read_html DataFrame.to_html +.. currentmodule:: pandas.io.formats.style +.. autosummary:: + :toctree: api/ + + Styler.to_html + +.. currentmodule:: pandas XML ~~~~ .. autosummary:: @@ -82,6 +94,20 @@ XML read_xml DataFrame.to_xml +LaTeX +~~~~ +.. autosummary:: + :toctree: api/ + + DataFrame.to_latex + +.. currentmodule:: pandas.io.formats.style +.. autosummary:: + :toctree: api/ + + Styler.to_latex + +.. currentmodule:: pandas HDFStore: PyTables (HDF5) ~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: @@ -155,7 +181,6 @@ Google BigQuery :toctree: api/ read_gbq - DataFrame.to_gpq STATA ~~~~~ From 03fb010da11385f6ed634bff3eaa8264bfe822e3 Mon Sep 17 00:00:00 2001 From: Griffin Ansel Date: Tue, 8 Jun 2021 11:10:45 -0400 Subject: [PATCH 4/8] DOC: Updating current module for ExcelWriter method summary. --- doc/source/reference/io.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index e054b9763d8e2..4291197055ed6 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -48,6 +48,7 @@ Excel Styler.to_excel +.. currentmodule:: pandas .. autosummary:: :toctree: api/ :template: autosummary/class_without_autosummary.rst From fd771b6d9d7063980ad6a210960725533f6ccc21 Mon Sep 17 00:00:00 2001 From: Griffin Ansel Date: Tue, 8 Jun 2021 11:24:23 -0400 Subject: [PATCH 5/8] DOC: Resolving Sphinx warning on line break. --- doc/source/reference/io.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 4291197055ed6..9c0c39dbe5395 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -43,12 +43,14 @@ Excel ExcelFile.parse .. currentmodule:: pandas.io.formats.style + .. autosummary:: :toctree: api/ Styler.to_excel .. currentmodule:: pandas + .. autosummary:: :toctree: api/ :template: autosummary/class_without_autosummary.rst @@ -56,6 +58,7 @@ Excel ExcelWriter .. currentmodule:: pandas.io.json + JSON ~~~~ .. autosummary:: @@ -81,12 +84,14 @@ HTML DataFrame.to_html .. currentmodule:: pandas.io.formats.style + .. autosummary:: :toctree: api/ Styler.to_html .. currentmodule:: pandas + XML ~~~~ .. autosummary:: @@ -96,19 +101,21 @@ XML DataFrame.to_xml LaTeX -~~~~ +~~~~~ .. autosummary:: :toctree: api/ DataFrame.to_latex .. currentmodule:: pandas.io.formats.style + .. autosummary:: :toctree: api/ Styler.to_latex .. currentmodule:: pandas + HDFStore: PyTables (HDF5) ~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: From a9efec41896da3c1292585db9699443fdd055e4f Mon Sep 17 00:00:00 2001 From: Griffin Ansel <59709552+gansel51@users.noreply.github.com> Date: Tue, 8 Jun 2021 18:09:01 -0400 Subject: [PATCH 6/8] DOC: Change LaTeX to Latex for capitalization check. --- doc/source/reference/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 9c0c39dbe5395..4c311182c89e7 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -100,7 +100,7 @@ XML read_xml DataFrame.to_xml -LaTeX +Latex ~~~~~ .. autosummary:: :toctree: api/ From 47f90edd0a2b71f3ec3b819e7c2fbbab24f7bbb7 Mon Sep 17 00:00:00 2001 From: Griffin Ansel <59709552+gansel51@users.noreply.github.com> Date: Thu, 10 Jun 2021 23:11:39 -0400 Subject: [PATCH 7/8] DOC: Remove deprecated method from documentation. --- doc/source/reference/io.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 4c311182c89e7..97120f137a0b2 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -66,7 +66,6 @@ JSON read_json to_json - json_normalize .. autosummary:: :toctree: api/ From abe037ee3f6fc5081991ddbd7c17be44e7855fde Mon Sep 17 00:00:00 2001 From: Griffin Ansel <59709552+gansel51@users.noreply.github.com> Date: Wed, 16 Jun 2021 16:25:20 -0400 Subject: [PATCH 8/8] DOC: Update to_pickle --- doc/source/reference/io.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/reference/io.rst b/doc/source/reference/io.rst index 97120f137a0b2..82d4ec4950ef1 100644 --- a/doc/source/reference/io.rst +++ b/doc/source/reference/io.rst @@ -13,7 +13,7 @@ Pickling :toctree: api/ read_pickle - to_pickle + DataFrame.to_pickle Flat file ~~~~~~~~~