code: def med():
      iris_h2o = h2o.import_file(
          path=pyunit_utils.locate("smalldata/iris/iris_wheader.csv")
      )
      iris_np = np.genfromtxt(
          pyunit_utils.locate("smalldata/iris/iris_wheader.csv"),
          delimiter=",",
          skip_header=1,
          usecols=(0, 1, 2, 3),
      )
  
      med_np = np.median(iris_np, axis=0)
      med_h2o = iris_h2o.median()
      for i in range(4):
          assert (
              abs(med_np[i] - med_h2o[i]) < 1e-10
          ), "expected medians to be the same"
  
      print("Medians from Numpy: ")
      print(med_np)
      print("Medians from H2O: ")
      print(med_h2o)
  
imports: from builtins import range
  import sys
  import h2o
  from tests import pyunit_utils
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: med() without return types