I would like to know if it is possible how to write a python script that reads an iris.csv file row by row, so that at any time only one row of data is in memory WITHOUT using panda?
I am aware how to do it with panda but not without it..
with open('myfile.csv') as f_in:
for line in f_in:
foo()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.