how to skip the first line of a csv file

Solutions on MaxInterview for how to skip the first line of a csv file by the best coders in the world

showing results for - "how to skip the first line of a csv file"
Elisa
05 May 2020
1file = open('sample.csv')
2csv_reader = csv.reader(file)
3next(csv_reader)
4
5for row in csv_reader:
6    print(row)
similar questions
queries leading to this page
how to skip the first line of a csv file