chi square test for independence of attributes using python code example
Example: chi square test in python
from scipy.stats import chisquare
stat, p = chisquare(mylist)
from scipy.stats import chisquare
stat, p = chisquare(mylist)