code: def test_feature_feature_correlation_with_mixed_data(
      df_with_mixed_datatypes_and_missing_values,
  ):
      # This dataset has mixed data types, missing values and a datetime column.
      ds = Dataset(
          df_with_mixed_datatypes_and_missing_values,
          cat_features=["cat", "dog", "owl"],
          label="target",
      )
      check = FeatureFeatureCorrelation()
      result = check.run(ds)
      # assert that the datetime column is ignored
      expected_features = [
          "blue",
          "red",
          "green",
          "black",
          "white",
          "owl",
          "cat",
          "dog",
      ]
      assert_that(
          result.value.index, contains_inanyorder(*expected_features)
      )
  
      # assert that ignored columns are not in the correlation matrix
      check.ignore_columns = ["green", "dog", "owl"]
      expected_features = ["cat", "blue", "red", "white", "black"]
      result = check.run(ds)
      assert_that(
          result.value.index, contains_inanyorder(*expected_features)
      )
      assert_that(
          result.value.columns, contains_inanyorder(*expected_features)
      )
  
      # assert that has display for top 5 (columns without NaNs), but all the features are in the value
      check = FeatureFeatureCorrelation(show_n_top_columns=5)
      result = check.run(ds)
      expected_features = [
          "red",
          "blue",
          "green",
          "white",
          "black",
          "cat",
          "dog",
          "owl",
      ]
      assert_that(
          result.value.index, contains_exactly(*expected_features)
      )
      assert_that(
          result.value.columns, contains_exactly(*expected_features)
      )
      assert_that(result.have_display(), equal_to(True))
  
file_path: deepchecks/tests/tabular/checks/integrity/feature_feature_correlation_test.py
imports: from hamcrest import assert_that, calling, contains_exactly, contains_inanyorder, equal_to, has_items, has_length, raises
  from deepchecks.tabular.checks.data_integrity.feature_feature_correlation import FeatureFeatureCorrelation
  from deepchecks.tabular.dataset import Dataset
  from tests.base.utils import equal_condition_result
label_desc: Use image node_id 3 for calling a global function with example usage: test_feature_feature_correlation_with_mixed_data(df_with_mixed_datatypes_and_missing_values) without return types