mardi 17 novembre 2020

Freezing output after running numpy.random.randint() in Python

I've used numpy.random.randint(lower limit, upper limit, size) to make a 2D array with random numbers within the given range. Now I want to freeze this randomly generated array for the follow up steps. So that the numbers don't change every time I run the entire script. Is there a way to do this?

Thanks.




Aucun commentaire:

Enregistrer un commentaire