code: def get_kc2_data():
      file_path = join("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)
      train, test = train_test_data_setup(data)
  
      return train, test
  
file_path: FEDOT/examples/advanced/structural_analysis/dataset_access.py
imports: from os.path import join
  from fedot.core.data.data import InputData
  from fedot.core.data.data_split import train_test_data_setup
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 2 for calling a global function with example usage: get_kc2_data() and returns: train,  test