Чис -квадратный тест на Python

from scipy.stats import chisquare
stat, p = chisquare(mylist)
Jealous Jackal