1

我在包含 140 列的数据集中使用 pandas-profiling。

这是我的代码:

df = pd.read_parquet("ConsultationForm.parquet", columns= sorted(columnNames),engine="pyarrow")
df = df.fillna(value=np.nan)
df.head()
profile = ProfileReport(df, title="Pandas Profiling Report", explorative=True, minimal=True)
profile.to_file('ConsultationForm_profiling3.html')

但我收到此错误:

TypeError: <lambda>() argument after * must be an iterable, not bool

我该如何解决?

谢谢

4

0 回答 0