code: def create_degenerate_test_df2():
      df = pd.DataFrame(
          {
              "int_col": [1, 1, 1, 1, 1, 1, 1],
              "float_col": [1.2, 1.2, 1.2, 1.2, 1.2, 1.2, 1.2],
              "str_col": [
                  "foo",
                  "foo",
                  "foo",
                  "foo",
                  "foo",
                  "foo",
                  "foo",
              ],
              "target": [
                  "True",
                  "False",
                  "False",
                  "False",
                  "False",
                  "False",
                  "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 3 for calling a global function with example usage: create_degenerate_test_df2() and returns: df