标签: python-3.x scipy anaconda
r和p使用scipy计算问题
关于类型错误问题的任何想法吗?
r, p = pearsonr(a, b)
TypeError:无法使用灵活类型执行归约
样本数据:
enter image description here
a = DF['a'] b = DF['b'] c = DF['c'] d = DF['d'] e = DF['e'] f = DF['f'] r, p = pearsonr(a, b)