How to use np.random.rand(1) in Pandas to generate a number between 2 values?
I understand that you can generate a number using np.random.rand(1) and then by multiplying this by a factor, but how can I generate a number within a range, say from 1 to 4.
Aucun commentaire:
Enregistrer un commentaire