Commit e0f054fb authored by RhettYing's avatar RhettYing
Browse files

[Doc] add doc for DGLCSVDataset

parent 39121dfd
...@@ -18,6 +18,7 @@ Base Dataset Class ...@@ -18,6 +18,7 @@ Base Dataset Class
.. autoclass:: DGLDataset .. autoclass:: DGLDataset
:members: download, save, load, process, has_cache, __getitem__, __len__ :members: download, save, load, process, has_cache, __getitem__, __len__
.. autoclass:: DGLCSVDataset
Node Prediction Datasets Node Prediction Datasets
--------------------------------------- ---------------------------------------
......
This diff is collapsed.
...@@ -23,6 +23,7 @@ shows how to implement each component of it. ...@@ -23,6 +23,7 @@ shows how to implement each component of it.
* :ref:`guide-data-pipeline-process` * :ref:`guide-data-pipeline-process`
* :ref:`guide-data-pipeline-savenload` * :ref:`guide-data-pipeline-savenload`
* :ref:`guide-data-pipeline-loadogb` * :ref:`guide-data-pipeline-loadogb`
* :ref:`guide-data-pipeline-loadcsv`
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
...@@ -33,4 +34,5 @@ shows how to implement each component of it. ...@@ -33,4 +34,5 @@ shows how to implement each component of it.
data-download data-download
data-process data-process
data-savenload data-savenload
data-loadogb data-loadogb
\ No newline at end of file data-loadcsv
\ No newline at end of file
...@@ -51,7 +51,13 @@ class CSVDataset(DGLDataset): ...@@ -51,7 +51,13 @@ class CSVDataset(DGLDataset):
any available graph-level data such as graph-level feature, labels. any available graph-level data such as graph-level feature, labels.
Examples Examples
[TODO]: link to a detailed web page. --------
``meta.yaml`` and CSV files are under ``csv_dir``.
>>> csv_dataset = dgl.data.DGLCSVDataset(csv_dir)
See more details in :ref:`guide-data-pipeline-loadcsv`.
""" """
META_YAML_NAME = 'meta.yaml' META_YAML_NAME = 'meta.yaml'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment