code: def get_kc2_data():
      file_path = "cases/data/kc2/kc2.csv"
      full_path = join(str(fedot_project_root()), file_path)
      task = Task(TaskTypesEnum.classification)
      data = InputData.from_csv(
          full_path, task=task, target_columns="problems"
      )
  
      target = data.target
      encoded = (target == "yes").astype(int)
      data.target = encoded
  
      train, test = train_test_data_setup(data, shuffle=True)
  
      return train, test
  
file_path: FEDOT/cases/kc2_sourcecode_defects_classification.py
imports: from os.path import join
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.repository.tasks import TaskTypesEnum, Task
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 1 for calling a global function with example usage: get_kc2_data() and returns: train,  test