/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
- 2 votes104 views1 answer
- 7 votes102 views2 answers
- 71 votes63 views10 answers
- 0 vote54 views1 answer
- 9 votes109 views4 answers
- 2 votes105 views2 answers
- 5 votes104 views2 answers
- 0 vote154 views1 answer
- 0 vote109 views2 answers
- 0 vote95 views1 answer