Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

np shuffle

arr = np.arange(10)
>>> np.random.shuffle(arr)
>>> arr
[1 7 5 2 9 4 3 6 0 8] # random
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #np #shuffle
ADD COMMENT
Topic
Name
8+6 =