code: def parse_date(self, df: pd.DataFrame):
      if self.date_format is not None:
          try:
              return pd.to_datetime(
                  df[self.date_column], format=self.date_format
              )
          except ValueError as e:
              raise ValidationError(e)
      else:
          for date_format in DATE_FORMATS:
              try:
                  return pd.to_datetime(
                      df[self.date_column], format=date_format
                  )
              except ValueError:
                  pass
          raise ValidationError(
              f"Failed to parse date in column `{self.date_column}`. "
              "Try to pass explicit date format in date_format argument of FeaturesEnricher constructor"
          )
  
file_path: upgini/src/upgini/utils/datetime_utils.py
imports: import datetime
  import logging
  import re
  from typing import List, Optional
  import numpy
  import pandas
  from dateutil.relativedelta import relativedelta
  from pandas.api.types import is_numeric_dtype, is_period_dtype, is_string_dtype
  from upgini.errors import ValidationError
label_desc: Use image node_id 5 for calling the DateTimeSearchKeyConverter obj's underlying member method code with example usage: obj.parse_date(df) and returns: pd, pd