Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy generate random permutation

>>> np.random.permutation(10)
array([1, 7, 4, 3, 0, 9, 2, 5, 8, 6])
Source by pageperso.lif.univ-mrs.fr #
 
PREVIOUS NEXT
Tagged: #numpy #generate #random #permutation
ADD COMMENT
Topic
Name
7+1 =