diff options
| -rw-r--r-- | tablib/core.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tablib/core.py b/tablib/core.py index 3fc55cb..48758bd 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -948,6 +948,10 @@ class Dataset(object): if cols is None: cols = list(self.headers) + #filter out impossible rows and columns + rows = [row for row in rows if row in range(self.height)] + cols = [header for header in cols if header in self.headers] + _dset = Dataset() #filtering rows and columns |
