np.random

Accessing the BitGenerator

bit_generator

Simple random data

choice(a[, size, replace, p, ctx, out]) Generates a random sample from a given 1-D array
random
integers
bytes

Permutations

shuffle(x) Modify a sequence in-place by shuffling its contents.
permutation

Distributions

normal([loc, scale, size, dtype, ctx, out]) Draw random samples from a normal (Gaussian) distribution.
uniform([low, high, size, dtype, ctx, out]) Draw samples from a uniform distribution.
rand(\*size, \*\*kwargs) Random values in a given shape.
randint(low[, high, size, dtype, ctx, out]) Return random integers from low (inclusive) to high (exclusive).
beta
binomial
chisquare
dirichlet
exponential
f
gamma
geometric
gumbel
hypergeometric
laplace
logistic
lognormal
logseries
multinomial
multivariate_normal
negative_binomial
noncentral_chisquare
noncentral_f
pareto
poisson
power
rayleigh
standard_cauchy
standard_exponential
standard_gamma
standard_normal
standard_t
triangular
vonmises
wald
weibull
zipf