code: def h2o_H2OFrame_strafified_split():
      """
      Python API test: h2o.frame.H2OFrame.stratified_split(test_frac=0.2, seed=-1)
      """
      python_lists = np.random.randint(-3, 3, (10000, 2))
      h2oframe = h2o.H2OFrame(python_obj=python_lists).asfactor()
      newframe = h2oframe[1].stratified_split(test_frac=0.2, seed=-1)
      assert_is_type(newframe, H2OFrame)
      assert (
          (newframe == "train").sum() + (newframe == "test").sum()
      ) == h2oframe.nrow, "h2o.H2OFrame.stratified_kfold_column() command is not working."
  
imports: import sys
  from tests import pyunit_utils
  import h2o
  import numpy
  from h2o.utils.typechecks import assert_is_type
  from h2o.frame import H2OFrame
label_desc: Use image node_id 1 for calling a global function with example usage: h2o_H2OFrame_strafified_split() without return types