code: def _create_sample_dataset(string_features):
      if "Sex" in string_features:
          sex_values = [
              "Male",
              "Female",
              "Male",
              "Male",
              "Female",
              "Female",
          ]
      else:
          sex_values = [0, 1, 0, 0, 1, 1]
  
      if "Blood group" in string_features:
          blood_values = ["A", "B", "A", "O", "O", "O"]
      else:
          blood_values = [1, 2, 1, 3, 3, 3]
  
      X = pd.DataFrame(
          {
              "Sex": sex_values,
              "Blood group": blood_values,
              "Age": [10, 15, 28, 3, 84, 56],
              "Height": [130, 170, 185, 40, 150, 164],
          }
      )
      return X
  
file_path: shap/tests/plots/test_dependence_string_features.py
imports: import matplotlib
  import numpy
  import pandas
  import shap
label_desc: Use image node_id 6 for calling a global function with example usage: _create_sample_dataset(string_features) and returns: X