/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
- 5 votes104 views3 answers
- 0 vote116 views1 answer
- 0 vote118 views1 answer
- 0 vote112 views1 answer
- 1 vote119 views1 answer
- 0 vote121 views3 answers
- 0 vote123 views1 answer
- 1 vote104 views1 answer
- 3 votes113 views3 answers
- 17 votes108 views2 answers