code: def import_dataset():
      df = h2o.import_file(
          path=pu.locate("smalldata/prostate/prostate.csv")
      )
      target = "CAPSULE"
      target_alt = "RACE"
      df[target] = df[target].asfactor()
      df[target_alt] = df[target_alt].asfactor()
      return pu.ns(train=df, target=target, target_alt=target_alt)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_reruns.py
imports: import os
  import sys
  import h2o
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: import_dataset() and returns: pu