How to shuffle an iterable dataset

also there are cases where your data is generated / sampled on the fly: from distribution, from simulation, where iterable datasets are more suitable.

1 Like