Good article! Also to add an example for you title of large datasets.
With this code you may read a huge file line-by-line without loading it in RAM
with open('big.csv') as f:
for line in f:
Here f would be a lazy generator for lines in the file