Skip to content

Commit

Permalink
made requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanhemani committed Jan 14, 2017
1 parent e7803e7 commit 3cf2a59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datascience/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def append(self, row_or_table):
columns = list(t.select(self.labels)._columns.values())
n = t.num_rows
else:
if (len(row_or_table) != self.num_columns):
if (len(list(row_or_table)) != self.num_columns):
raise Exception('Row should have '+ str(self.num_columns) + " columns")
columns, n = [[value] for value in row_or_table], 1
for i, column in enumerate(self._columns):
Expand Down

0 comments on commit 3cf2a59

Please sign in to comment.