Subsampling data

Generators not functions