code: def get_simple_preprocessed_input_test_frame():
      doc_ids = [0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2]
      words = ["A", "B", "C", "A", "a", "a", "Z", "C", "c", "B", "C"]
  
      return H2OFrame(
          OrderedDict([("DocID", doc_ids), ("Words", words)]),
          column_types=["numeric", "string"],
      )
  
file_path: h2o-3/h2o-py/tests/testdir_algos/tf-idf/pyunit_PUBDEV-6938_tf-idf.py
imports: from collections import OrderedDict
  from h2o import H2OFrame
  from h2o.information_retrieval.tf_idf import tf_idf
  from tests import pyunit_utils
label_desc: Use image node_id 3 for calling a global function with example usage: get_simple_preprocessed_input_test_frame() and returns: H2OFrame