code: def test_median_mad_pull_comparer():
      datastore = {"to_profile": pytest.test_comparer_df}
  
      mod = RefMedianMadPullCalculator(
          reference_key="to_profile",
          assign_to_key="to_profile",
          features=["the_feature", "dummy_feature"],
      )
      datastore = mod.transform(datastore)
  
      p = datastore["to_profile"]["the_feature"]
      np.testing.assert_almost_equal(
          p["mae_ref_pull"].values[2], 0.6745
      )
      np.testing.assert_almost_equal(
          p["mae_ref_pull"].values[3], 6.070500000000004
      )
  
      p = datastore["to_profile"]["dummy_feature"]
      np.testing.assert_almost_equal(
          p["mae_ref_pull"].values[0], -0.6745
      )
  
file_path: popmon/tests/popmon/analysis/profiling/test_apply_func.py
imports: import numpy
  import pandas
  import pytest
  from popmon.analysis.apply_func import ApplyFunc, apply_func, apply_func_array
  from popmon.analysis.functions import pull
  from popmon.analysis.profiling.pull_calculator import ExpandingPullCalculator, ReferencePullCalculator, RefMedianMadPullCalculator, RollingPullCalculator
  from popmon.base import Pipeline
label_desc: Use image node_id 6 for calling a global function with example usage: test_median_mad_pull_comparer() without return types