code: def create_test_df():
      df = pd.DataFrame(
          {
              "int_col": [1, 2],
              "float_col": [1.2, 4.5],
              "str_col": ["foo", "bar"],
              "target": ["True", "False"],
          }
      )
      df.astype(
          {
              "int_col": "int64",
              "float_col": "float64",
              "str_col": "str",
              "target": "str",
          }
      )
      return df
  
file_path: AIX360/tests/rule_induction/ripper/test_ripper.py
imports: import logging
  import sys
  import unittest
  import pandas
  from aix360.algorithms.rule_induction.ripper.ripper import RipperExplainer
  from aix360.algorithms.rule_induction.trxf.core.conjunction import Conjunction
  from aix360.algorithms.rule_induction.trxf.core.dnf_ruleset import DnfRuleSet
  from aix360.algorithms.rule_induction.trxf.core.feature import Feature
  from aix360.algorithms.rule_induction.trxf.core.predicate import Predicate, Relation
label_desc: Use image node_id 1 for calling a global function with example usage: create_test_df() and returns: df