I’ve just discovered about your Sweetviz and decided trying to perform some EDA with it! It’s indeed a nice work of you! It worked perfectly in some data I have, but when I tried to create some visualizations using explicit categorical data I’ve received this error:
TypeError: Categorical cannot perform the operation sum
In your documentation you said one can use Sweetviz with categorical data. Am I missing some point?
My data is composed by 3 categorical columns which are encoded as integers. When my dataframe is configured as integer, everything works fine. However, after manually setting the data to Categorical I got the error above.
The command I’ve used: to configure the data:
df[‘field’] = df[‘field’].astype(‘category’)