summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tablib/core.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tablib/core.py b/tablib/core.py
index 80f4418..46146db 100644
--- a/tablib/core.py
+++ b/tablib/core.py
@@ -597,6 +597,14 @@ class Dataset(object):
self.rpush(row, tags)
+ def extend(self, rows, tags=list()):
+ """Adds a list of rows to the :class:`Dataset` using
+ :class:`Dataset.append`
+ """
+
+ for row in rows:
+ self.append(row, tags)
+
def lpop(self):
"""Removes and returns the first row of the :class:`Dataset`."""