DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
7+1 =
Submit