code: def __init__(self, fr, n_folds=3, seed=-1):
      H2OPartitionIterator.__init__(self, len(fr))
      self.n_folds = n_folds
      self.fr = fr
      self.seed = seed
      self.fold_assignments = None
  
file_path: h2o-3/h2o-py/h2o/cross_validation.py
imports: from h2o.utils.compatibility import *
label_desc: Use image node_id 1 to create a new H2OKFold object from inherited base classes: H2OPartitionIterator with example: obj = H2OKFold(fr, n_folds, seed)