class_docstr: Check if test dates are present in train data.
  
  Parameters
  ----------
  n_to_show : int , default: 5
      Number of common dates to show.
  n_samples : int , default: 10_000_000
      number of samples to use for this check.
  random_state : int, default: 42
      random seed for all check internals.
code: def __init__(
      self,
      n_to_show: int = 5,
      n_samples: int = 10_000_000,
      random_state: int = 42,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.n_to_show = n_to_show
      self.n_samples = n_samples
      self.random_state = random_state
  
file_path: deepchecks/deepchecks/tabular/checks/train_test_validation/date_train_test_leakage_duplicates.py
imports: import pandas
  from deepchecks.core import CheckResult, ConditionCategory, ConditionResult
  from deepchecks.tabular import Context, TrainTestCheck
  from deepchecks.utils.strings import format_datetime, format_percent
label_desc: Use image node_id 1 to create a new DateTrainTestLeakageDuplicates object from inherited base classes: TrainTestCheck with example: obj = DateTrainTestLeakageDuplicates(n_to_show, n_samples, random_state)