code: def mad(arr: np.ndarray) -> np.ndarray:
      """Median Absolute Deviation: a "Robust" version of standard deviation.
      Indices variability of the sample.
      https://en.wikipedia.org/wiki/Median_absolute_deviation
      """
      return np.median(np.abs(arr - np.median(arr)))
  
file_path: ydata-profiling/src/ydata_profiling/model/pandas/describe_numeric_pandas.py
imports: from typing import Any, Dict, Tuple
  import numpy
  import pandas
  from ydata_profiling.utils.compat import pandas_version_info
  from ydata_profiling.config import Settings
  from ydata_profiling.model.summary_algorithms import chi_square, describe_numeric_1d, histogram_compute, series_handle_nulls, series_hashable
label_desc: Use image node_id 1 for calling a global function with example usage: mad(arr) and returns: np