SyntaxFix
Write A Post
Hire A Developer
Questions
To print a range of line, in this case from line 4 to 7 import csv with open('california_housing_test.csv') as csv_file: data = csv.reader(csv_file) for row in list(data)[4:7]: print(row)
To print a range of line, in this case from line 4 to 7
import csv with open('california_housing_test.csv') as csv_file: data = csv.reader(csv_file) for row in list(data)[4:7]: print(row)