📅  最后修改于: 2022-03-11 14:45:36.430000             🧑  作者: Mango
import scipy
#calculates correlation between a binary variable, x, and a continuous variable, y
scipy.stats.pointbiserialr(x, y)