small bugfix

This commit is contained in:
rasbt 2014-03-19 14:57:05 -04:00
parent ca6688c735
commit ee005932d1

View File

@ -10,5 +10,5 @@ def read_csv(csv_path):
for line in in_csv:
line = line.strip().split(',')
for i in range(len(line)-1):
data[header[i]].append(line[1])
data[header[i]].append(line[i])
return data