code: def test_multimodal_data_with_custom_target():
      """
      Checking that MultiModalData imports last column as target by default
      and that manual set of target and redundant columns works as expected.
      """
      file_path = "test/data/simple_multimodal_classification.csv"
      path = Path(fedot_project_root(), file_path)
      file_data = MultiModalData.from_csv(path)
  
      expected_table_features = file_data["data_source_table"].features
      expected_target = file_data.target
  
      file_custom_path = "test/data/simple_multimodal_classification_with_custom_target.csv"
      path_custom = Path(fedot_project_root(), file_custom_path)
      custom_file_data = MultiModalData.from_csv(path_custom)
      actual_table_features = custom_file_data[
          "data_source_table"
      ].features
      actual_target = custom_file_data.target
  
      assert not np.array_equal(
          expected_table_features, actual_table_features
      )
      assert not np.array_equal(expected_target, actual_target)
  
      custom_file_data = MultiModalData.from_csv(
          path_custom,
          columns_to_drop=["redundant"],
          target_columns="variety",
      )
  
      actual_table_features = custom_file_data[
          "data_source_table"
      ].features
      actual_target = custom_file_data.target
  
      assert np.array_equal(
          expected_table_features, actual_table_features
      )
      assert np.array_equal(expected_target, actual_target)
  
file_path: FEDOT/test/unit/data/test_multimodal_data.py
imports: import numpy
  import pandas
  import pytest
  from pathlib import Path
  from fedot import Fedot
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.tasks import Task, TaskTypesEnum
  from fedot.core.utils import fedot_project_root
label_desc: Use image node_id 3 for calling a global function with example usage: test_multimodal_data_with_custom_target() without return types