code: def _assert_equal_data(data1: InputData, data2: InputData):
      assert data1.features.shape == data2.features.shape
      assert data1.target.shape == data2.target.shape
  
      assert pd.DataFrame(data1.features).equals(
          pd.DataFrame(data2.features)
      )
      assert pd.DataFrame(data1.target).equals(
          pd.DataFrame(data2.target)
      )
  
file_path: FEDOT/test/integration/preprocessing/test_pipeline_preprocessing.py
imports: from typing import Tuple, Callable
  import pandas
  import pytest
  from fedot.core.data.data import InputData
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.preprocessing.dummy_preprocessing import DummyPreprocessor
  from fedot.preprocessing.preprocessing import DataPreprocessor
  from test.unit.preprocessing.test_pipeline_preprocessing import data_with_mixed_types_in_each_column, data_with_only_categorical_features
label_desc: Use image node_id 2 for calling a global function with example usage: _assert_equal_data(data1, data2) without return types