class_docstr: Container that doesn't allow setting item *but*
  because it's technically hashable, will be used
  for lookups, appropriately, etc.
class_docstr_tok: ["Container","that","does","n't","allow","setting","item","*","but","*","because","it","'s","technically","hashable",",","will","be","used","for","lookups",",","appropriately",",","etc","."]
docstr: Returns a FrozenList with other concatenated to the end of self.
  
  Parameters
  ----------
  other : array-like
      The array-like whose elements we are concatenating.
  
  Returns
  -------
  FrozenList
      The collection difference between self and other.
docstr_tok: ["Returns","a","FrozenList","with","other","concatenated","to","the","end","of","self",".","Parameters","--","--","--","--","--","other",":","array-like","The","array-like","whose","elements","we","are","concatenating",".","Returns","--","--","--","-","FrozenList","The","collection","difference","between","self","and","other","."]
code: def union(self, other) -> FrozenList:
      """
      Returns a FrozenList with other concatenated to the end of self.
  
      Parameters
      ----------
      other : array-like
          The array-like whose elements we are concatenating.
  
      Returns
      -------
      FrozenList
          The collection difference between self and other.
      """
      if isinstance(other, tuple):
          other = list(other)
      return type(self)(super().__add__(other))
  
file_path: catboost/contrib/python/pandas/py3/pandas/core/indexes/frozen.py
imports: from __future__ import annotations
  from typing import Any, NoReturn
  from pandas.core.base import PandasObject
  from pandas.io.formats.printing import pprint_thing
label_desc: Use image node_id 1 for calling the FrozenList obj's underlying member method code with example usage: obj.union(other) and returns: type