I have a given price range and i had used random uniform to get random generated random results from it. How can i introduce np.random.zipf to do the same ?
i have tried the following :
a = np.random.zipf((randint(1, 6000000)), size=None)
print(a)
But it seems to be providing no return values, and it keeps running the code without any termination
order_total_price_range1 = round(random.uniform(850, 560000), 5)
order_total_price_range2 = round(random.uniform(850, 560000), 5)
I expected to get max and min values from the zipf distribution, but currently not getting any results returned.
Aucun commentaire:
Enregistrer un commentaire