code: def test_lambda(
      h2o_frame, panda_frame, fce, axis, assert_fce, pandas_fce=None
  ):
      h2o_result = h2o_frame.apply(fce, axis=axis).as_data_frame()
      pd_result = panda_frame.apply(
          pandas_fce if pandas_fce else fce, axis=axis
      )
  
      assert_fce(h2o_result, pd_result)
  
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 10 for calling a global function with example usage: test_lambda(h2o_frame, panda_frame, fce, axis, assert_fce, pandas_fce) without return types