Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spreadsheet, for example). Here's the content of an example file:

.. ipython:: python

cat mydata.csv
cat sample.csv

And this is how we load it in as a :class:`Table` using
:meth:`~datascience.tables.Table.read_table`:
Expand Down Expand Up @@ -128,7 +128,12 @@ To access values of columns in the table, use
t.values('letter')
t.values('count')

Use bracket notation as a shorthand for this method:

.. ipython:: python

t['letter'] # This is a shorthand for t.values('letter')
t['count'] # This is a shorthand for t.values('count')

To access values by row, :meth:`~datascience.tables.Table.rows` returns an
list-like :class:`~datascience.tables.Table.Rows` object that contains
Expand Down