Ydata profiling correlations 只给出标有“auto”的表格,这是哪个相关性以及如何获得所有相关性?

问题描述 投票:0回答:1

我正在分析一个样本为 200 000 的数据集。我只得到一个标记为自动相关性的表。

我正在使用以下命令在 Jupyter 中运行 ydata 分析

"profile = ProfileReport(df, title = "Pandas Profiling Report") profile.to_widgets()"

enter image description here

我怎样才能得到所有的相关性以及这是哪个相关性?我在任何地方都找不到有关自动标题的任何信息。

pandas-profiling
1个回答
0
投票

嘿,您可以激活各个关联,如下所示。

profile = ProfileReport(df, 
title = "Pandas Profiling Report", 
correlations={
        "pearson": {"calculate": True},
        "spearman": {"calculate": True},
        "kendall": {"calculate": False},
        "cramers": {"calculate": True},
        "phi_k": {"calculate": False},
    },
) 
profile.to_widgets()
© www.soinside.com 2019 - 2024. All rights reserved.