parameters: (self, other)
docstring: Returns True if categoricals are the same dtype
            same categories, and same ordered
  
          Parameters
          ----------
          other : Categorical
  
          Returns
          -------
          bool
docstring_summary: Returns True if categoricals are the same dtype
            same categories, and same ordered
docstring_tokens: Returns True if categoricals are the same dtype same categories and same ordered
function: def is_dtype_equal(self, other):
          """
          Returns True if categoricals are the same dtype
            same categories, and same ordered
  
          Parameters
          ----------
          other : Categorical
  
          Returns
          -------
          bool
          """
  
          try:
              return hash(self.dtype) == hash(other.dtype)
          except (AttributeError, TypeError):
              return False
function_tokens: def is_dtype_equal ( self , other ) : try : return hash ( self . dtype ) == hash ( other . dtype ) except ( AttributeError , TypeError ) : return False