lines = list(csv.reader(open('file.csv')))
header, values = lines[0], lines[1:]
data = {h: v for h, v in zip(header, zip(*values))}
Pandas read_csv expects wrong number of columns, with ragged csv file