code: def _assert_dataframes_equal(df1, df2):
      if df1.schema == df2.schema:
          diff = df1.exceptAll(df2)
          assert diff.rdd.isEmpty()
      else:
          assert False
  
imports: import json
  import os
  import pandas
  import pytest
  import mlflow.data
  from mlflow.data.code_dataset_source import CodeDatasetSource
  from mlflow.data.delta_dataset_source import DeltaDatasetSource
  from mlflow.data.spark_dataset import SparkDataset
  from mlflow.data.spark_dataset_source import SparkDatasetSource
  from mlflow.exceptions import MlflowException
  from mlflow.models.evaluation.base import EvaluationDataset
  from mlflow.types.schema import Schema
  from mlflow.types.utils import _infer_schema
label_desc: Use image node_id 3 for calling a global function with example usage: _assert_dataframes_equal(df1, df2) without return types