make two columns in a csv a key in a dictionary and the rest of the row the value in the dictionarypython code example
Example: read csv and store in dictionary python
import csv
with open('coors.csv', mode='r') as infile:
reader = csv.reader(infile)
with open('coors_new.csv', mode='w') as outfile:
writer = csv.writer(outfile)
mydict = {rows[0]:rows[1] for rows in reader}