seed

seed(seed)[source]

Seed the random number generator.

Also updates the global meta data with the new seed and generator.

Parameters:
seed{None, int, array_like[ints], SeedSequence, BitGenerator, Generator, RandomState}

The seed to use for the random number generator.