Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy random entries not repeat

from numpy.random import default_rng

rng = default_rng()
numbers = rng.choice(20, size=10, replace=False)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numpy #random #entries #repeat
ADD COMMENT
Topic
Name
8+7 =