code: def test_with_custom_target():
      test_file_path = str(os.path.dirname(__file__))
      file = "../../data/simple_classification.csv"
      file_custom = (
          "../../data/simple_classification_with_custom_target.csv"
      )
  
      file_data = InputData.from_csv(os.path.join(test_file_path, file))
  
      expected_features = file_data.features
      expected_target = file_data.target
  
      custom_file_data = InputData.from_csv(
          os.path.join(test_file_path, file_custom), delimiter=";"
      )
      actual_features = custom_file_data.features
      actual_target = custom_file_data.target
  
      assert not np.array_equal(expected_features, actual_features)
      assert not np.array_equal(expected_target, actual_target)
  
      custom_file_data = InputData.from_csv(
          os.path.join(test_file_path, file_custom),
          delimiter=";",
          columns_to_drop=["redundant"],
          target_columns="custom_target",
      )
  
      actual_features = custom_file_data.features
      actual_target = custom_file_data.target
  
      assert np.array_equal(expected_features, actual_features)
      assert np.array_equal(expected_target, actual_target)
  
imports: import os
  from copy import deepcopy, copy
  import numpy
  import pandas
  import pytest
  from sklearn.datasets import load_iris
  from fedot.core.data.data import InputData, get_df_from_csv
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
  from test.unit.tasks.test_forecasting import get_ts_data_with_dt_idx
label_desc: Use image node_id 5 for calling a global function with example usage: test_with_custom_target() without return types