summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <dfsantosbu@unal.edu.co>2019-10-28 16:45:26 +0100
committerDaniel <dfsantosbu@unal.edu.co>2019-10-28 16:45:26 +0100
commit20f51d0bc1b983170587aaf61012b1135b6d1d08 (patch)
treed0277b009bd12789b80388f6507d2de3bd92325f
parent87d15a1529980fdc0dafc9ca350ef4ae9759ff06 (diff)
downloadtablib-20f51d0bc1b983170587aaf61012b1135b6d1d08.tar.gz
Update doc, apply requested changes in headers flag doc.
-rw-r--r--docs/tutorial.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 345ff88..2be7210 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -112,9 +112,10 @@ This detects what sort of data is being passed in, and uses an appropriate forma
.. admonition::
- When the format is :class:`csv <Dataset.csv>`, :class:`tsv <Dataset.tsv>`, :class:`dbf <Dataset.dbf>`, :class:`xls <Dataset.xls>` or :class:`xlsx <Dataset.xlsx>`, and this does not have headers, the import should be done as follows ::
+ When the format is :class:`csv <Dataset.csv>`, :class:`tsv <Dataset.tsv>`, :class:`dbf <Dataset.dbf>`, :class:`xls <Dataset.xls>` or :class:`xlsx <Dataset.xlsx>`, and the data source does not have headers, the import should be done as follows ::
imported_data = Dataset().load(open('data.csv').read(), headers=False)
+
--------------
Exporting Data
--------------