From 3c13ef19a8f7260edd2420eca7080be6c77dc6f6 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 11 Apr 2022 19:14:10 -0700 Subject: [PATCH] Document cudf.read_text and cudf.read_avro. (#10638) This adds documentation for `cudf.read_text` and `cudf.read_avro`. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - GALI PREM SAGAR (https://github.com/galipremsagar) - Vukasin Milovanovic (https://github.com/vuule) URL: https://github.com/rapidsai/cudf/pull/10638 --- docs/cudf/source/api_docs/io.rst | 14 ++++++++++++-- python/cudf/cudf/utils/ioutils.py | 5 ----- 2 files changed, 12 insertions(+), 7 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 diff --git a/python/cudf/cudf/utils/ioutils.py b/python/cudf/cudf/utils/ioutils.py index 5f348563243..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.read_json """.format( remote_data_sources=_docstring_remote_sources )