我想使用 pandas-profiling 对数据集执行一些 eda,但出现错误:AttributeError: 'DataFrame' object has no attribute 'profile_report'
我在 spyder 上创建了一个 python 脚本,代码如下:
import pandas as pd
import pandas_profiling
data_abc = pd.read_csv('abc.csv')
profile = data_abc.profile_report(title='Pandas Profiling Report')
profile.to_file(output_file="abc_pandas_profiling.html")
AttributeError:“DataFrame”对象没有属性“profile_report”