scipy.stats.rv_discrete.
scipy.stats.rv_discrete.random_state#
- property rv_discrete.random_state#
Get or set the generator object for generating random variates.
If
random_stateis None (or np.random), thenumpy.random.RandomStatesingleton is used. Ifrandom_stateis an int, a newRandomStateinstance is used, seeded withrandom_state. Ifrandom_stateis already aGeneratororRandomStateinstance, that instance is used.