xxxxxxxxxx
import csv
rows = []
with open("Salary_Data.csv", 'r) as file:
csvreader = csv.reader(file)
header = next(csvreader)
for row in csvreader:
rows.append(row)
print(header)
print(rows)
xxxxxxxxxx
I would love if you would play my games! Some of them are still work in progress, also join my group! Please follow me aswell!