randint#
- class randint(*args, low=None, high=None, dtype=<class 'numpy.int32'>, allow_time=False, **kwargs)[source]#
Bases:
Dist
Random integer distribution, on the interval [low, high)
- Parameters:
low (int) – the lower bound of the distribution (default 0)
high (int) – the upper bound of the distribution (default of maximum integer size: 9,223,372,036,854,775,807)
allow_time (bool) – allow time parameters to be specified as high/low values (disabled by default since introduces rounding error)
Attributes
bitgen
state
Get the current state
state_int
Get the integer corresponding to the current state
Methods