/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
- 10 votes162 views2 answers
- 0 vote167 views1 answer
- 0 vote182 views1 answer
- -3 votes138 views2 answers
- 0 vote175 views1 answer
- 0 vote172 views1 answer
- 0 vote200 views1 answer
- 0 vote217 views1 answer
- 1 vote170 views2 answers
- 0 vote160 views1 answer