Utilisez DictReader pour lire csv comme dictionnaire
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