DataFrame.
mad
Return the mean absolute deviation of the values over the requested axis.
Axis for the function to be applied on.
Exclude NA/null values when computing the result.
If the axis is a MultiIndex (hierarchical), count along a particular level, collapsing into a Series.