/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 vote135 views1 answer
- 0 vote137 views1 answer
- 0 vote141 views1 answer
- 0 vote147 views1 answer
- 2 votes162 views2 answers
- 1 vote160 views1 answer
- -2 votes163 views6 answers
- 4 votes141 views3 answers
- 0 vote144 views1 answer
- 2 votes159 views2 answers