code: def create_sample_dataframe(self):
      schema = t.StructType(
          [
              t.StructField("tenant", t.StringType(), nullable=True),
              t.StructField("user", t.StringType(), nullable=True),
              t.StructField("res", t.StringType(), nullable=True),
              t.StructField(
                  "expected_uid", t.IntegerType(), nullable=True
              ),
              t.StructField(
                  "expected_rid", t.IntegerType(), nullable=True
              ),
          ],
      )
  
      return sc.createDataFrame(
          [
              ("1", "a", "A", 1, 1),
              ("1", "b", "A", 2, 1),
              ("1", "a", "B", 1, 2),
              ("2", "aa", "AA", 1, 1),
              ("2", "bb", "AA", 2, 1),
              ("3", "b", "B", 1, 1),
          ],
          schema,
      )
  
file_path: SynapseML/core/src/test/python/synapsemltest/cyber/feature/test_indexers.py
imports: import unittest
  from typing import Type
  from pyspark.sql import types, functions
  from synapse.ml.cyber.feature import indexers
  from synapsemltest.cyber.explain_tester import ExplainTester
  from synapsemltest.spark import *
label_desc: Use image node_id 1 for calling the TestIndexers obj's underlying member method code with example usage: obj.create_sample_dataframe() and returns: sc