/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 vote234 views1 answer
- 0 vote243 views1 answer
- 0 vote140 views1 answer
- 20 votes177 views4 answers
- 0 vote206 views1 answer
- 5 votes213 views2 answers
- 0 vote207 views1 answer
- 6 votes185 views6 answers
- 0 vote187 views2 answers
- 0 vote180 views1 answer