code: def import_dataset(seed=0):
      df = h2o.import_file(
          path=pu.locate("smalldata/prostate/prostate.csv")
      )
      target = "CAPSULE"
      df[target] = df[target].asfactor()
      fr = df.split_frame(ratios=[0.8, 0.1], seed=seed)
      return dict(train=fr[0], valid=fr[1], blend=fr[2], target=target)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/stackedensemble/pyunit_stackedensemble_validate_frames.py
imports: import h2o
  import sys
  from h2o.estimators import H2OGradientBoostingEstimator, H2ORandomForestEstimator
  from h2o.exceptions import H2OTypeError
  from h2o.estimators.stackedensemble import H2OStackedEnsembleEstimator
  from tests import pyunit_utils
label_desc: Use image node_id 1 for calling a global function with example usage: import_dataset(seed) and returns: dict