From 5fad80a540d95c7ba5e7dfa55f885509c992736b Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Tue, 9 Nov 2010 08:43:34 -0500 Subject: Update column append examples. --- docs/tutorial.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/tutorial.rst') diff --git a/docs/tutorial.rst b/docs/tutorial.rst index 774158d..d89c8c1 100644 --- a/docs/tutorial.rst +++ b/docs/tutorial.rst @@ -87,7 +87,7 @@ Adding Columns Now that we have a basic :class:`Dataset` in place, let's add a column of **ages** to it. :: - data.append(col=['Age', 22, 20]) + data.append(col=[22, 20], header='Age') Let's view the data now. :: @@ -350,4 +350,4 @@ The resulting **tests.xls** will have the following layout: ---- -Now, go check out the :ref:`API Documentation ` or begin :ref:`Tablib Development `. \ No newline at end of file +Now, go check out the :ref:`API Documentation ` or begin :ref:`Tablib Development `. -- cgit v1.2.1