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