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
MAD is a overloaded shortcut: It stands for Median Absolute Deviation (more common), but also can be used as Mean Absolute Deviation (which is used in pandas).
Expected Output
To avoid confusion, the method should be renamed from .mad() to .mean_absolute_deviation(), and when implemented the more commonly used .median_absolute_deviation().
I think you're right that MAD is more commonly used for "median absolute deviation" than "mean absolute deviation".
I'll close this issue as it looks like a duplicate of #11787 - the issue is still open though, and it seems the core team would be open to this, so if you'd like to submit a PR it would be welcome!
Problem description
MAD is a overloaded shortcut: It stands for Median Absolute Deviation (more common), but also can be used as Mean Absolute Deviation (which is used in pandas).
Expected Output
To avoid confusion, the method should be renamed from
.mad()
to.mean_absolute_deviation()
, and when implemented the more commonly used.median_absolute_deviation()
.If you are fine with it, I would kick off a PR.
Output of
pd.show_versions()
The text was updated successfully, but these errors were encountered: