pandas corr()的默认值是什么

2024-06-28 19:18:57 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在使用pandascorr(),如下使用我的数据帧df

print(df.corr())

但是,pandas文档没有说明如果我们将其保持为空,将分配什么作为默认correlation method

链接到文档:https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.corr.html

我想知道熊猫中默认的相关方法是什么

如果需要,我很乐意提供更多细节


Tags: 数据文档httpsorgdocspandasdf链接