random Generator (NumPy)

The modern NumPy random API is built around a Generator object, created with np.random.default_rng().