vendredi 28 août 2020

Random sampling simulation in python

Problem: Assume we have a list of members' IDs: [1,2,3,4,5,6,7,8,9,10,....] I need to run 1000 simulations drawing teams of size 4 at random from all members without replacement. (drawn uniformly at random without replacement from all members)

Output: The final result should be 1000 teams with size of 4.

Thanks




Aucun commentaire:

Enregistrer un commentaire