Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy generator choice

numpy.random.Generator.choice
method

random.Generator.choice(a, size=None, replace=True, p=None, axis=0, shuffle=True)
Generates a random sample from a given array
Source by numpy.org #
 
PREVIOUS NEXT
Tagged: #numpy #generator #choice
ADD COMMENT
Topic
Name
7+1 =