/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 vote138 views1 answer
- 1 vote110 views1 answer
- 0 vote108 views1 answer
- 0 vote113 views1 answer
- 1 vote121 views3 answers
- 1 vote121 views1 answer
- 5 votes108 views1 answer
- 0 vote120 views1 answer
- 2 votes104 views3 answers
- 0 vote166 views1 answer