Closed
Description
The 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.