API change.

This commit is contained in:
Kenneth Reitz
2010-08-29 23:20:59 -04:00
parent 95c98861da
commit 4d3a31e19f
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -32,7 +32,7 @@ Features
Convert datafile formats via API: ::
tablib.import(filename='data.csv').export('data.json')
tablib.source(filename='data.csv').export('data.json')
Convert datafile formats via CLI: ::
@@ -75,11 +75,11 @@ Slice rows: ::
# >>> [('John', 'Adams', 4.0), ('George', 'Washington', 2.6)]
Slice columns by header: ::
print data['first_name']
# >>> ['John', 'George', 'Henry']
.. Slice columns by header: ::
..
.. print data['first_name']
.. # >>> ['John', 'George', 'Henry']
..
Manipulate rows by index: ::
+1 -1
View File
@@ -111,7 +111,7 @@ class Dataset(object):
pass
def add_row(self, index=None):
def append(self, row, index=None):
pass
def del_row(self):