/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 vote190 views1 answer
- 23 votes153 views5 answers
- 0 vote167 views2 answers
- 0 vote166 views1 answer
- 0 vote186 views1 answer
- 0 vote167 views1 answer
- 0 vote180 views1 answer
- 1 vote179 views1 answer
- 0 vote170 views1 answer
- 0 vote158 views1 answer