Skip to content

Commit ce9dd91

Browse files
committed
fix: add cross reference to io pages
1 parent 391bfe4 commit ce9dd91

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

docs/source/api/dataframe.rst

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,18 @@ DataFrames can be created in several ways:
5353

5454
.. code-block:: python
5555
56-
# From CSV files
56+
# From CSV files (see :ref:`io_csv` for detailed options)
5757
df = ctx.read_csv("path/to/data.csv")
5858
59-
# From Parquet files
59+
# From Parquet files (see :ref:`io_parquet` for detailed options)
6060
df = ctx.read_parquet("path/to/data.parquet")
6161
62-
# From JSON files
62+
# From JSON files (see :ref:`io_json` for detailed options)
6363
df = ctx.read_json("path/to/data.json")
6464
65+
# From Avro files (see :ref:`io_avro` for detailed options)
66+
df = ctx.read_avro("path/to/data.avro")
67+
6568
# From Pandas DataFrame
6669
import pandas as pd
6770
pandas_df = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
@@ -75,6 +78,9 @@ DataFrames can be created in several ways:
7578
)
7679
df = ctx.from_arrow(batch)
7780
81+
For detailed information about reading from different data sources, see the :doc:`I/O Guide <../user-guide/io/index>`.
82+
For custom data sources, see :ref:`io_custom_table_provider`.
83+
7884
Common DataFrame Operations
7985
---------------------------
8086

@@ -370,5 +376,12 @@ Best Practices
370376
Additional Resources
371377
--------------------
372378

373-
* `DataFusion User Guide <../user-guide/dataframe.html>`_ - Complete guide to using DataFrames
379+
* :doc:`../user-guide/dataframe` - Complete guide to using DataFrames
380+
* :doc:`../user-guide/io/index` - I/O Guide for reading data from various sources
381+
* :doc:`../user-guide/data-sources` - Comprehensive data sources guide
382+
* :ref:`io_csv` - CSV file reading
383+
* :ref:`io_parquet` - Parquet file reading
384+
* :ref:`io_json` - JSON file reading
385+
* :ref:`io_avro` - Avro file reading
386+
* :ref:`io_custom_table_provider` - Custom table providers
374387
* `API Reference <https://arrow.apache.org/datafusion-python/api/index.html>`_ - Full API reference

0 commit comments

Comments
 (0)