def chi2_test(fo, alpha=0.05):
    import scipy.stats as stats
    fo = pd.DataFrame(fo)
    chiStats = stats.chi2_contingency(observed=fo)
    chi2_data = ((chiStats[1] <= alpha), chiStats[1])
    return chi2_data
def chi2_test(fo, alpha=0.05):
    import scipy.stats as stats
    fo = pd.DataFrame(fo)
    chiStats = stats.chi2_contingency(observed=fo)
    chi2_data = ((chiStats[1] <= alpha), chiStats[1])
    return chi2_data