Answers for "how to skip the first line of a csv file"

0

how to skip the first line of a csv file

file = open('sample.csv')
csv_reader = csv.reader(file)
next(csv_reader)

for row in csv_reader:
    print(row)
Posted by: Guest on January-11-2021

Code answers related to "how to skip the first line of a csv file"

Python Answers by Framework

Browse Popular Code Answers by Language