Largest Number Of Rows In A Csv Python Can Handle?
import csv with open('C:\Anaconda3\FalkParameters\AllModels.csv','r') as f: reader = csv.reader(f) listofModels = list(reader) AllModels is a huge csv file (2.4 GB). I am
Solution 1:
Don't convert it to list. Rather use generator instead. print one value/line at a time.
for line in reader:
print line
Hope this helps !
Post a Comment for "Largest Number Of Rows In A Csv Python Can Handle?"