1import scipy
2#calculates correlation between a binary variable, x, and a continuous variable, y
3scipy.stats.pointbiserialr(x, y)
1!pip install pingouin
2#One way ANOVA test
3import pingouin as pg
4pg.anova(data=None, dv=None, between=None, ss_type=2, detailed=False, effsize='np2')
5#dv -> dependent variable. Column name: like 'A'
6#between -> ['B','C','D']