fbdesignpro / sweetviz

Visualize and compare datasets, target values and associations, with one line of code.
MIT License
2.9k stars 273 forks source link

Unable to run report with pandas 2.1.2 #171

Open CHALKEB opened 6 months ago

CHALKEB commented 6 months ago

Hi,

I've managed to install and import the latest version of sweetviz(sweetviz-2.3.1-py3-none-any.whl). However, when trying to run the report I'm getting the following error: AttributeError: 'DataFrame' object has no attribute 'iteritems' I was able to do a temporary work around by doing "pd.DataFrame.iteritems = pd.DataFrame.items". However, I'm getting another error now "None of ['index'] are in the columns", so I think some of the dependencies may not support the version of pandas I'm using. I'm using pandas 2.1.2.

Thanks