Read CSV file line by line
In the case of a reading a csv file, Python's csv module is the most robust way of handling the csv file. It allows you to play with different splitters, different quote characters, and so on.
Read CSV Data for Analysis
import csv with open('test.csv','r') as csv_file: reader =csv.reader(csv_file) next(reader) # Skip first row for row in reader: print(row)
2019-04-24T15:47:35+05:30
2019-04-24T15:47:35+05:30
Amit Arora
Amit Arora
Python Programming Tutorial
Python
Practical Solution