From fcd0b3ee0c7694c8c9e1320a41ce3df1a97ef151 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 11 Apr 2022 14:17:53 -0700 Subject: [PATCH 1/3] Add read_text and read_avro to the documentation. --- docs/cudf/source/api_docs/io.rst | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/cudf/source/api_docs/io.rst b/docs/cudf/source/api_docs/io.rst index c1eb7d381bc..677a75dc5f4 100644 --- a/docs/cudf/source/api_docs/io.rst +++ b/docs/cudf/source/api_docs/io.rst @@ -13,6 +13,12 @@ CSV read_csv DataFrame.to_csv +Text +~~~~ +.. autosummary:: + :toctree: api/ + + read_text .. currentmodule:: cudf.io.json @@ -43,8 +49,6 @@ ORC read_orc DataFrame.to_orc -.. currentmodule:: cudf - HDFStore: PyTables (HDF5) ~~~~~~~~~~~~~~~~~~~~~~~~~ .. autosummary:: @@ -71,3 +75,9 @@ Feather Feather reader and writers are not GPU accelerated. These currently use CPU via Pandas. This may be GPU accelerated in the future. +Avro +~~~~ +.. autosummary:: + :toctree: api/ + + read_avro From 6caaf71fcf6bca3aa5f24d2bf2010e5e1ec9021f Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 11 Apr 2022 19:00:37 -0500 Subject: [PATCH 2/3] Fix read_json in See Also. --- python/cudf/cudf/utils/ioutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cudf/cudf/utils/ioutils.py b/python/cudf/cudf/utils/ioutils.py index 5f348563243..ba58790f282 100644 --- a/python/cudf/cudf/utils/ioutils.py +++ b/python/cudf/cudf/utils/ioutils.py @@ -81,7 +81,7 @@ See Also -------- cudf.read_csv -cudf.read_json +cudf.io.json.read_json """.format( remote_data_sources=_docstring_remote_sources ) From c5536604aaf2374b30704eb0f709b5771d3dcdc9 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 11 Apr 2022 19:07:10 -0500 Subject: [PATCH 3/3] Remove See Also from read_avro. --- python/cudf/cudf/utils/ioutils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/python/cudf/cudf/utils/ioutils.py b/python/cudf/cudf/utils/ioutils.py index ba58790f282..c7bb35c0452 100644 --- a/python/cudf/cudf/utils/ioutils.py +++ b/python/cudf/cudf/utils/ioutils.py @@ -77,11 +77,6 @@ 0 10 hello 1 20 rapids 2 30 ai - -See Also --------- -cudf.read_csv -cudf.io.json.read_json """.format( remote_data_sources=_docstring_remote_sources )