Get or set the RandomState object for generating random variates.
This can be either None, int, a RandomState instance, or a np.random.Generator instance.
If None (or np.random), use the RandomState singleton used by np.random. If already a RandomState or Generator instance, use it. If an int, use a new RandomState instance seeded with seed.