ydata-profiling
ydata-profiling copied to clipboard
Bug Report
Current Behaviour
comparison_report.to_file("xxx.html") is throwing below error
AttributeError: 'list' object has no attribute 'to_dict'
Expected Behaviour
Expect a comparison report
Data Description
Code that reproduces the bug
import pandas as pd
import ydata_profiling
Jun_data = pd.read_csv('June.csv')
Jun1_data = pd.read_csv('June1.csv')
Jun_profile = ydata_profiling.ProfileReport(Jun_data)
Jun1_profile = ydata_profiling.ProfileReport(Jun1_data)
comparison_report = Jun_profile.compare(Jun1_profile)
comparison_report.to_file("comparison_report.html")
pandas-profiling version
ydata-profiling4.2.0
Dependencies
PANDAS = 1.3.5
OS
No response
Checklist
- [X] There is not yet another bug report for this issue in the issue tracker
- [X] The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
- [X] The issue has not been resolved by the entries listed under Common Issues.