You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @jackyyanggp thank you for the report! I'm not sure what could be causing this. Are you able to run other data sets successfully? I'm guessing you couldn't share the data so I could debug it? Also if you have a call stack, that could be helpful, to see where the error is happening.
Thanks again!
Hi @fbdesignpro thanks for your response, unfortunately I can't share the data and haven't tried it with other dataset as this dataframe is already a sample/small dataframe. please see the detailed error below:
Hello again @jackyyanggp, sorry for the slight delay this week! I looked into it and as far as I can tell without looking at the source data, I'm wondering if it could be an issue with the pandas installation itself, because as you can see from the stack, sweetviz is calling series.sum() successfully (suggesting the numerical data is fine) but series.mad() fails right after.
I would love to know if this is something we can fix. If you have time, could you test if the following works?
df.mad()
This should print each column in some numbers without errors. If there are errors, and means the issue is outside of sweetviz. If there are no errors, it would be good to try the command on a specific column of data. e.g.:
df["PUT_A_COLUMN_NAME_HERE"].mad()
I would be very curious to see how these tests work out!
my_report = sv.analyze(df, pairwise_analysis = "off")
Tried to call this function but got this error when I input a normal dataframe that only contain numeric columns. Any advice what might went wrong?
The text was updated successfully, but these errors were encountered: