Skip to content

Commit ee00593

Browse files
committed
small bugfix
1 parent ca6688c commit ee00593

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

read_csv_to_dict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ def read_csv(csv_path):
1010
for line in in_csv:
1111
line = line.strip().split(',')
1212
for i in range(len(line)-1):
13-
data[header[i]].append(line[1])
13+
data[header[i]].append(line[i])
1414
return data

0 commit comments

Comments
 (0)