Statistical Analysis, Numpy.
as sp poisson1 = sp.poisson(5).rvs(1000) poisson2 = sp.poisson(50).rvs(1000) import matplotlib.pyplot as plt fig, (ax1, ax2) = plt.subplots(1, 2, constrained_layout=True) fig.suptitle('Sampling from poisson distribution') ax1.hist(poisson1, bins=10) ax1.set_title("Expectation of interval: 5")