summaryrefslogtreecommitdiff
path: root/docs/tutorial.rst
diff options
context:
space:
mode:
authorDaniel Chimeno <daniel@chimeno.me>2016-03-18 09:22:59 +0100
committerDaniel Chimeno <daniel@chimeno.me>2016-03-18 09:22:59 +0100
commit5fa3d2f886f4c63c7a65d415d39fc1039fe4b194 (patch)
tree8051727c48e99aa20d1871d557332b0314c4d102 /docs/tutorial.rst
parentd4c66c7a4e5363a1dd75f5d9680822e885f68167 (diff)
downloadtablib-5fa3d2f886f4c63c7a65d415d39fc1039fe4b194.tar.gz
[docs] Update variable name in tuto
The tutorial has been using the 'data' variable, but in this case it's using 'd'. This change that.
Diffstat (limited to 'docs/tutorial.rst')
-rw-r--r--docs/tutorial.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 94de432..d552e21 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -158,9 +158,9 @@ To do so, we access the :class:`Dataset` as if it were a standard Python diction
You can also access the column using its index. ::
- >>> d.headers
+ >>> data.headers
['Last Name', 'First Name', 'Age']
- >>> d.get_col(1)
+ >>> data.get_col(1)
['Kenneth', 'Bessie']
Let's find the average age. ::