numpy generate random permutation

Solutions on MaxInterview for numpy generate random permutation by the best coders in the world

showing results for - "numpy generate random permutation"
Corentin
05 Apr 2020
1>>> np.random.permutation(10)
2array([1, 7, 4, 3, 0, 9, 2, 5, 8, 6])
3