/Python/Import csv import re data = [] with open('customerData.csv') as csvfile: reader = csv.DictReader(csvfile) for row in reader: data.append(row) print(data[0]) print(data[1]["Name"]) print(data[2]["Spent Past 30 Days"])
Import csv import re data = [] with open('customerData.csv') as csvfile: reader = csv.DictReader(csvfile) for row in reader: data.append(row) print(data[0]) print(data[1]["Name"]) print(data[2]["Spent Past 30 Days"])
Import csv import re data = [] with open('customerData.csv') as csvfile: reader = csv.DictReader(csvfile) for row in reader: data.append(row) print(data[0]) print(data[1]["Name"]) print(data[2]["Spent Past 30 Days"])
0
- 0 vote221 views1 answer
- 95 votes229 views6 answers
- 0 vote217 views1 answer
- 0 vote223 views1 answer
- 0 vote251 views1 answer
- 0 vote220 views1 answer
- 1 vote183 views1 answer
- 0 vote222 views1 answer
- 1 vote211 views1 answer
- -1 vote214 views1 answer