Sampling from dataset

no way to do this?