I know how to create a numpy array filled with random numbers, for instance, this : np.random.randint(0, 100, (5, 5))
.
But how do you create a numpy array filled with random numbers so that the difference between two adjacent cells is 1 or less ?
Thanks
Aucun commentaire:
Enregistrer un commentaire