diff options
| author | Kenneth Reitz <me@kennethreitz.com> | 2010-09-14 00:01:59 -0400 |
|---|---|---|
| committer | Kenneth Reitz <me@kennethreitz.com> | 2010-09-14 00:01:59 -0400 |
| commit | bb4e97f8aae83f3f98f265c3cf2c98e0418c83d0 (patch) | |
| tree | b98df32e34a3ed19773c2eb201ab60ef977e6b9f | |
| parent | ffaeb646399c5f544d3760d6fc1ec857cb815146 (diff) | |
| download | tablib-bb4e97f8aae83f3f98f265c3cf2c98e0418c83d0.tar.gz | |
Updated readme for column additions.
| -rw-r--r-- | README.rst | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -31,11 +31,11 @@ Usage Populate fresh data files: :: - headers = ('first_name', 'last_name', 'gpa') + headers = ('first_name', 'last_name') data = [ - ('John', 'Adams', 90), - ('George', 'Washington', 67) + ('John', 'Adams'), + ('George', 'Washington') ] data = tablib.Dataset(*data, headers=headers) @@ -43,7 +43,11 @@ Populate fresh data files: :: Intelligently add new rows: :: - >>> data.append(('Henry', 'Ford', 83)) + >>> data.append(('Henry', 'Ford')) + +Intelligently add new columns: :: + + >>> data.append(col=('age', 90, 67, 83)) Slice rows: :: @@ -122,7 +126,7 @@ Or, if you absolutely must: :: Contribute ---------- -If you'd like to contribute, simply fork `the repository`_, commit your changes, and send a pull request. Make sure you add yourself to AUTHORS_. +If you'd like to contribute, simply fork `the repository`_, commit your changes to the **develop** branch (or branch off of it), and send a pull request. Make sure you add yourself to AUTHORS_. Roadmap |
