parameters: (source, target)
docstring: Check if two dtypes are equal.
  
      Parameters
      ----------
      source : The first dtype to compare
      target : The second dtype to compare
  
      Returns
      ----------
      boolean : Whether or not the two dtypes are equal.
  
      Examples
      --------
      >>> is_dtype_equal(int, float)
      False
      >>> is_dtype_equal("int", int)
      True
      >>> is_dtype_equal(object, "category")
      False
      >>> is_dtype_equal(CategoricalDtype(), "category")
      True
      >>> is_dtype_equal(DatetimeTZDtype(), "datetime64")
      False
docstring_summary: Check if two dtypes are equal.
docstring_tokens: Check if two dtypes are equal .
function: def is_dtype_equal(source, target):
      """
      Check if two dtypes are equal.
  
      Parameters
      ----------
      source : The first dtype to compare
      target : The second dtype to compare
  
      Returns
      ----------
      boolean : Whether or not the two dtypes are equal.
  
      Examples
      --------
      >>> is_dtype_equal(int, float)
      False
      >>> is_dtype_equal("int", int)
      True
      >>> is_dtype_equal(object, "category")
      False
      >>> is_dtype_equal(CategoricalDtype(), "category")
      True
      >>> is_dtype_equal(DatetimeTZDtype(), "datetime64")
      False
      """
  
      try:
          source = _get_dtype(source)
          target = _get_dtype(target)
          return source == target
      except (TypeError, AttributeError):
  
          # invalid comparison
          # object == category will hit this
          return False
function_tokens: def is_dtype_equal ( source , target ) : try : source = _get_dtype ( source ) target = _get_dtype ( target ) return source == target except ( TypeError , AttributeError ) : # invalid comparison # object == category will hit this return False