code: def h2o_to_float(h2o, pd):
      """
      The method transform h2o result into a frame of floats. It is used as assert helper
      to compare with Pandas results.
      :return:
      """
      return (h2o.astype(float), pd)
  
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 1 for calling a global function with example usage: h2o_to_float(h2o, pd) and returns: h2o,  pd