numpy.random.seed#
- random.seed(seed=None)#
Reseed the singleton RandomState instance.
See also
Notes
This is a convenience, legacy function that exists to supportolder code that uses the singleton RandomState. Best practiceis to use a dedicated
Generatorinstance rather thanthe random variate generation methods exposed directly inthe random module.
On this page