summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst14
1 files changed, 9 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 86da367..32d477f 100644
--- a/README.rst
+++ b/README.rst
@@ -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