Python’s Generator Expressions: Fitting Large Datasets into Memory
Luciano Strika

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

Like what you read? Give Alexey Smirnov a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.