code: def create_iris_pandas(use_str_labels=False):
      (
          X_train,
          X_test,
          y_train,
          y_test,
          feature_names,
          classes,
      ) = create_iris_data()
  
      X_train = pd.DataFrame(X_train, columns=feature_names)
      X_test = pd.DataFrame(X_test, columns=feature_names)
  
      if use_str_labels:
          y_train = np.array([classes[y] for y in y_train])
          y_test = np.array([classes[y] for y in y_test])
  
      return X_train, X_test, y_train, y_test, feature_names, classes
  
imports: import numpy
  import pandas
  import pytest
  from tests.common_utils import create_iris_data
  from erroranalysis._internal.constants import ARG, COLUMN, METHOD, PRED_Y, ROW_INDEX, TRUE_Y
  from rai_test_utils.datasets.tabular import create_housing_data, create_simple_titanic_data
  from rai_test_utils.models.sklearn import create_sklearn_random_forest_regressor, create_sklearn_svm_classifier, create_titanic_pipeline
  from raiutils.cohort import CohortFilterMethods
  from raiutils.models import ModelTask
  from responsibleai.rai_insights import RAIInsights
label_desc: Use image node_id 1 for calling a global function with example usage: create_iris_pandas(use_str_labels) and returns: X_train,  X_test,  y_train,  y_test,  feature_names,  classes