Use DictReader to read csv as a dictionary
DictReader.py
import csv
data = []
with open('stimuliSet.csv', encoding = 'utf-8_sig') as f:
reader = csv.DictReader(f)
for row in reader:
data.append(row)
Recommended Posts