class_docstr: Parent class for checks that compare two datasets.
  
  The class checks train dataset and test dataset for model training and test.
class_docstr_tok: ["Parent","class","for","checks","that","compare","two","datasets",".","The","class","checks","train","dataset","and","test","dataset","for","model","training","and","test","."]
docstr: Run check.
docstr_tok: ["Run","check","."]
code: def run_logic(self, context) -> CheckResult:
      """Run check."""
      raise NotImplementedError()
  
imports: import abc
  import warnings
  from typing import List, Mapping, Optional, Union
  import numpy
  import pandas
  from deepchecks.core.check_result import CheckFailure, CheckResult
  from deepchecks.core.checks import BaseCheck, DatasetKind, ModelOnlyBaseCheck, SingleDatasetBaseCheck, TrainTestBaseCheck
  from deepchecks.core.errors import DeepchecksNotSupportedError, DeepchecksValueError
  from deepchecks.tabular import deprecation_warnings
  from deepchecks.tabular._shared_docs import docstrings
  from deepchecks.tabular.context import Context
  from deepchecks.tabular.dataset import Dataset
  from deepchecks.tabular.model_base import ModelComparisonContext
  from deepchecks.utils.typing import BasicModel
label_desc: Use image node_id 2 for calling the TrainTestCheck obj's underlying member method code with example usage: obj.run_logic(context) without return types