问题是我遇到错误:
module 'attr' has no attribute 's'
使用时:
pandas_profiling.ProfileReport(df)
我不了解错误的联系。
错误非常大,但是您可以在这里看到它如何到达模块属性的一部分。
我打印了所需列的标题。
[以供将来参考,此问题在以前版本的pandas-profiling中发生。更新到最新版本可以解决此问题。