fbdesignpro / sweetviz

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

mad replaced with mean_absolute_deviation #136

Closed sagarishere closed 1 year ago

sagarishere commented 1 year ago

With reference to pandas documentation, mad has been deprecated. https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.mad.html

In this case, we can get the same result by using mean_absolute_deviation

This will make code future safe and prevent warnings like this one:

mad

fbdesignpro commented 1 year ago

Good catch, however mad was not being used in the recent builds. We will absolutely keep this in mind if we add it back to the summary.