Statistical Analysis, Numpy.
ax2.hist(poisson2, bins=10) ax2.set_title("Expectation of interval: 50"); import numpy as np # Sample data data = np.array([10, 20, 30, 40, 50, 20, 30, 40, 60]) # Mean mean = np.mean(data) print("Mean:", mean) # Median median = np.median(data) print("Median:", median) # Mode mode =