I am getting the following error when running a profile report for a subset of my DataFrame.
ValueError: Value '6.180529706513958' should be a ratio between 1 and 0.
This works:
profile = ProfileReport(
df, title="Profile Report of the January Conversion Dataset"
)
profile.to_file(Path("../../../products/jan_cvr_report.html"))
profile0 = ProfileReport(
df[df['conversion']==0], title="Profile Report of the January Conversion==0 Dataset"
)
profile0.to_file(Path("../../../products/jan_cvr0_report.html"))
This does not:
profile1 = ProfileReport(
df[df['conversion']==1], title="Profile Report of the January Conversion==1 Dataset"
)
profile1.to_file(Path("../../../products/jan_cvr1_report.html"))