dimanche 14 mars 2021

Random sampling list of arrays

I have a list of arrays, e.g.:

list = (array[a1,a2,a3],array[b1,b2,b3],array[c1,c2,c3])

Now, I would like to take a random sample from each array in the list, for example: a1, b3,c1

What is the best way to code this?




Aucun commentaire:

Enregistrer un commentaire