DEPR: mad (mean absolute difference) functions
See original GitHub issueThe generic function .mad()
calculates the mean absolute difference of a set of data, but in some cases the median absolute difference is more appropriate. In R
, the mad()
function accepts a center
argument to specify how the average absolute difference should be calculated. I propose to add the same to the pandas function.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Mean absolute difference - Wikipedia
The mean absolute difference (univariate) is a measure of statistical dispersion equal to the average absolute difference of two independent values drawn ...
Read more >Mean absolute deviation (MAD) review (article) - Khan Academy
The mean absolute deviation (MAD) is the mean (average) distance between each data value and the mean of the data set. It can...
Read more >Mean Absolute Deviation: Definition, Finding & Formula
The mean absolute deviation (MAD) is a measure of variability that indicates the average distance between each observation and the mean.
Read more >Mean Absolute Deviation: Formula, Steps & Solved Examples
Mean absolute deviation (MAD) is a variable that indicates the average distance between their observation and the mean. Mean absolute deviation is necessary ......
Read more >pandas.DataFrame.mad — pandas 1.5.2 documentation
Return the mean absolute deviation of the values over the requested axis. Deprecated since version 1.5.0: mad is deprecated. Parameters.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
i would be ok with deprecating .mad() entirely
I am working on this as part of Walmart PandasHack