The Kolmogorov-Smirnov test is used to decide if a given sample comes from a population with a specific distribution.
Scipy