code: def get_assert_fce_for_axis(axis, assert_transf=None):
      assert_fce = __AXIS_ASSERTS__[axis]
      if assert_transf:
          return lambda h2o, pd: assert_fce(*assert_transf(h2o, pd))
      else:
          return assert_fce
  
file_path: h2o-3/h2o-py/tests/testdir_misc/pyunit_apply.py
imports: import sys
  import h2o
  from tests import pyunit_utils
  import pandas
  from pandas.util.testing import assert_frame_equal
  import numpy
  from functools import partial
label_desc: Use image node_id 11 for calling a global function with example usage: get_assert_fce_for_axis(axis, assert_transf) and returns: function, assert_fce