parameters: (self, key: Union[int, np.ndarray], value: Any)
docstring: Set one or more values inplace.
  
          This method is not required to satisfy the pandas extension array
          interface.
  
          Parameters
          ----------
          key : int, ndarray, or slice
              When called from, e.g. ``Series.__setitem__``, ``key`` will be
              one of
  
              * scalar int
              * ndarray of integers.
              * boolean ndarray
              * slice object
  
          value : ExtensionDtype.type, Sequence[ExtensionDtype.type], or object
              value or values to be set of ``key``.
  
          Returns
          -------
          None
docstring_summary: Set one or more values inplace.
docstring_tokens: Set one or more values inplace .
function: def __setitem__(self, key: Union[int, np.ndarray], value: Any) -> None:
          """
          Set one or more values inplace.
  
          This method is not required to satisfy the pandas extension array
          interface.
  
          Parameters
          ----------
          key : int, ndarray, or slice
              When called from, e.g. ``Series.__setitem__``, ``key`` will be
              one of
  
              * scalar int
              * ndarray of integers.
              * boolean ndarray
              * slice object
  
          value : ExtensionDtype.type, Sequence[ExtensionDtype.type], or object
              value or values to be set of ``key``.
  
          Returns
          -------
          None
          """
          # Some notes to the ExtensionArray implementor who may have ended up
          # here. While this method is not required for the interface, if you
          # *do* choose to implement __setitem__, then some semantics should be
          # observed:
          #
          # * Setting multiple values : ExtensionArrays should support setting
          #   multiple values at once, 'key' will be a sequence of integers and
          #  'value' will be a same-length sequence.
          #
          # * Broadcasting : For a sequence 'key' and a scalar 'value',
          #   each position in 'key' should be set to 'value'.
          #
          # * Coercion : Most users will expect basic coercion to work. For
          #   example, a string like '2018-01-01' is coerced to a datetime
          #   when setting on a datetime64ns array. In general, if the
          #   __init__ method coerces that value, then so should __setitem__
          # Note, also, that Series/DataFrame.where internally use __setitem__
          # on a copy of the data.
          raise NotImplementedError(f"{type(self)} does not implement __setitem__.")
function_tokens: def __setitem__ ( self , key : Union [ int , np . ndarray ] , value : Any ) -> None : # Some notes to the ExtensionArray implementor who may have ended up # here. While this method is not required for the interface, if you # *do* choose to implement __setitem__, then some semantics should be # observed: # # * Setting multiple values : ExtensionArrays should support setting #   multiple values at once, 'key' will be a sequence of integers and #  'value' will be a same-length sequence. # # * Broadcasting : For a sequence 'key' and a scalar 'value', #   each position in 'key' should be set to 'value'. # # * Coercion : Most users will expect basic coercion to work. For #   example, a string like '2018-01-01' is coerced to a datetime #   when setting on a datetime64ns array. In general, if the #   __init__ method coerces that value, then so should __setitem__ # Note, also, that Series/DataFrame.where internally use __setitem__ # on a copy of the data. raise NotImplementedError ( f"{type(self)} does not implement __setitem__." )