parameters: (self, other)
return_statement: return type(self)(temp)
docstring: Returns a FrozenList with elements from other removed from self.
  
          Parameters
          ----------
          other : array-like
              The array-like whose elements we are removing self.
  
          Returns
          -------
          FrozenList
              The collection difference between self and other.
docstring_summary: Returns a FrozenList with elements from other removed from self.
docstring_tokens: Returns a FrozenList with elements from other removed from self .
function: def difference(self, other) -> FrozenList:
          """
          Returns a FrozenList with elements from other removed from self.
  
          Parameters
          ----------
          other : array-like
              The array-like whose elements we are removing self.
  
          Returns
          -------
          FrozenList
              The collection difference between self and other.
          """
          other = set(other)
          temp = [x for x in self if x not in other]
          return type(self)(temp)
function_tokens: def difference ( self , other ) -> FrozenList : other = set ( other ) temp = [ x for x in self if x not in other ] return type ( self ) ( temp )