lundi 4 mars 2019

Generting a random float value in Python

I am trying to generate a random float similar to how numpy.random.randint generates a random int. This is what I currently have to generate a random int radnum = np.random.uniform(0, np.max(num), size=4) how would this be possible for a float number.

Any help with this would be much appreciated!




Aucun commentaire:

Enregistrer un commentaire