numpy random.permutation

36

numpy random.permutation -

np.random.permutation([1, 4, 9, 12, 15])
array([15,  1,  9,  4, 12]) # random

Comments

Submit
0 Comments