Legacy Random Generation¶
Removed
Danger
RandomState has been completely removed in randomgen 2.0.0.
You should be using numpy.random.Generator, or if you must
have full stability (e.g., for writing tests) or backward compatibility
with NumPy before 1.17, numpy.random.RandomState.