首页 > 解决方案 > 无法使用 Pandas Profiling 的 Profile 报告

问题描述

问题是我收到错误:

module 'attr' has no attribute 's'

使用时:

pandas_profiling.ProfileReport(df)

在此处输入图像描述

我不明白错误的联系。

错误非常大,但您可以在这里看到它是如何到达模块 attr 的。

在此处输入图像描述

我打印了所需列的标题。

标签: pythonpandasattrpandas-profiling

解决方案


推荐阅读