read an array in csv to object python code example
Example: python read csv into array
import csv
items = []
with open('file.csv') as csvfile:
csvReader = csv.reader(csvfile)
for row in csvReader:
items.append(row[0])
print(items)