@@ -29,36 +29,26 @@ IO Tools (Text, CSV, HDF5, ...)
29
29
===============================
30
30
31
31
The pandas I/O API is a set of top level ``reader `` functions accessed like ``pd.read_csv() `` that generally return a ``pandas ``
32
- object.
33
-
34
- * :ref: `read_csv<io.read_csv_table> `
35
- * :ref: `read_excel<io.excel_reader> `
36
- * :ref: `read_hdf<io.hdf5> `
37
- * :ref: `read_feather<io.feather> `
38
- * :ref: `read_sql<io.sql> `
39
- * :ref: `read_json<io.json_reader> `
40
- * :ref: `read_msgpack<io.msgpack> `
41
- * :ref: `read_html<io.read_html> `
42
- * :ref: `read_gbq<io.bigquery> `
43
- * :ref: `read_stata<io.stata_reader> `
44
- * :ref: `read_sas<io.sas_reader> `
45
- * :ref: `read_clipboard<io.clipboard> `
46
- * :ref: `read_pickle<io.pickle> `
47
-
48
- The corresponding ``writer `` functions are object methods that are accessed like ``df.to_csv() ``
49
-
50
- * :ref: `to_csv<io.store_in_csv> `
51
- * :ref: `to_excel<io.excel_writer> `
52
- * :ref: `to_hdf<io.hdf5> `
53
- * :ref: `to_feather<io.feather> `
54
- * :ref: `to_sql<io.sql> `
55
- * :ref: `to_json<io.json_writer> `
56
- * :ref: `to_msgpack<io.msgpack> `
57
- * :ref: `to_html<io.html> `
58
- * :ref: `to_gbq<io.bigquery> `
59
- * :ref: `to_stata<io.stata_writer> `
60
- * :ref: `to_clipboard<io.clipboard> `
61
- * :ref: `to_pickle<io.pickle> `
32
+ object. The corresponding ``writer `` functions are object methods that are accessed like ``df.to_csv() ``
33
+
34
+ .. csv-table ::
35
+ :header: "Format Type", "Data Description", "Reader", "Writer"
36
+ :widths: 30, 100, 60, 60
37
+ :delim: ;
38
+
39
+ text;`CSV <https://en.wikipedia.org/wiki/Comma-separated_values>`__;:ref: `read_csv<io.read_csv_table> `;:ref: `to_csv<io.store_in_csv> `
40
+ text;`JSON <http://www.json.org/>`__;:ref: `read_json<io.json_reader> `;:ref: `to_json<io.json_writer> `
41
+ text;`HTML <https://en.wikipedia.org/wiki/HTML>`__;:ref: `read_html<io.read_html> `;:ref: `to_html<io.html> `
42
+ text; Local clipboard;:ref: `read_clipboard<io.clipboard> `;:ref: `to_clipboard<io.clipboard> `
43
+ binary;`MS Excel <https://en.wikipedia.org/wiki/Microsoft_Excel>`__;:ref: `read_excel<io.excel_reader> `;:ref: `to_excel<io.excel_writer> `
44
+ binary;`HDF5 Format <https://support.hdfgroup.org/HDF5/whatishdf5.html>`__;:ref: `read_hdf<io.hdf5> `;:ref: `to_hdf<io.hdf5> `
45
+ binary;`Feather Format <https://github.com/wesm/feather>`__;:ref: `read_feather<io.feather> `;:ref: `to_feather<io.feather> `
46
+ binary;`Msgpack <http://msgpack.org/index.html>`__;:ref: `read_msgpack<io.msgpack> `;:ref: `to_msgpack<io.msgpack> `
47
+ binary;`Stata <https://en.wikipedia.org/wiki/Stata>`__;:ref: `read_stata<io.stata_reader> `;:ref: `to_stata<io.stata_writer> `
48
+ binary;`SAS <https://en.wikipedia.org/wiki/SAS_(software)>`__;:ref: `read_sas<io.sas_reader> `;
49
+ binary;`Python Pickle Format <https://docs.python.org/3/library/pickle.html>`__;:ref: `read_pickle<io.pickle> `;:ref: `to_pickle<io.pickle> `
50
+ SQL;`SQL <https://en.wikipedia.org/wiki/SQL>`__;:ref: `read_sql<io.sql> `;:ref: `to_sql<io.sql> `
51
+ SQL;`Google Big Query <https://en.wikipedia.org/wiki/BigQuery>`__;:ref: `read_gbq<io.bigquery> `;:ref: `to_gbq<io.bigquery> `
62
52
63
53
:ref: `Here <io.perf >` is an informal performance comparison for some of these IO methods.
64
54
0 commit comments