mercredi 28 février 2018

Scipy randint vs numpy randint

I have a simple yet broad question regarding two methods:

scipy.stats.randint

and

numpy.random.randint

After reading the API for both methods I'm a bit confused as to when it is best to use each method; therefore, I was wondering if someone could outline the differences between the two and possibly offer some examples of when one method would be preferable to use over the other. Thanks!

Edit: Links to each method's documentation -> numpy.random.randint, scipy.stats.randint




Aucun commentaire:

Enregistrer un commentaire