diff --git a/README.rst b/README.rst index 3d01ed8..00b6345 100644 --- a/README.rst +++ b/README.rst @@ -61,7 +61,7 @@ Intelligently add new rows: :: Intelligently add new columns: :: - >>> data.append(col=('age', 90, 67, 83)) + >>> data.append(col=(90, 67, 83), header='age') Slice rows: :: @@ -171,8 +171,7 @@ To install tablib, simply: :: Or, if you absolutely must: :: $ easy_install tablib - - + Contribute ---------- 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 `.