docstr: Set values with indexer.
  
  For Single[Block/Array]Manager, this backs s[indexer] = value
  
  This is an inplace version of `setitem()`, mutating the manager/values
  in place, not returning a new Manager (and Block), and thus never changing
  the dtype.
docstr_tok: ["Set","values","with","indexer",".","For","Single","[","Block\/Array","]","Manager",",","this","backs","s","[","indexer","]","=","value","This","is","an","inplace","version","of","`","setitem","(",")","`",",","mutating","the","manager\/values","in","place",",","not","returning","a","new","Manager","(","and","Block",")",",","and","thus","never","changing","the","dtype","."]
code: def setitem_inplace(self, indexer, value, warn: bool = True) -> None:
      """
      Set values with indexer.
  
      For Single[Block/Array]Manager, this backs s[indexer] = value
  
      This is an inplace version of `setitem()`, mutating the manager/values
      in place, not returning a new Manager (and Block), and thus never changing
      the dtype.
      """
      arr = self.array
  
      # EAs will do this validation in their own __setitem__ methods.
      if isinstance(arr, np.ndarray):
          # Note: checking for ndarray instead of np.dtype means we exclude
          #  dt64/td64, which do their own validation.
          value = np_can_hold_element(arr.dtype, value)
  
      if (
          isinstance(value, np.ndarray)
          and value.ndim == 1
          and len(value) == 1
      ):
          # NumPy 1.25 deprecation: https://github.com/numpy/numpy/pull/10615
          value = value[0, ...]
  
      arr[indexer] = value
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Literal, cast, final
  import numpy
  from pandas._config import using_copy_on_write, warn_copy_on_write
  from pandas._libs import algos, lib
  from pandas.errors import AbstractMethodError
  from pandas.util._validators import validate_bool_kwarg
  from pandas.core.dtypes.cast import find_common_type, np_can_hold_element
  from pandas.core.dtypes.dtypes import ExtensionDtype, SparseDtype
  from pandas.core.base import PandasObject
  from pandas.core.construction import extract_array
  from pandas.core.indexes.api import Index, default_index
label_desc: Use image node_id 3 for calling the SingleDataManager obj's underlying member method code with example usage: obj.setitem_inplace(indexer, value, warn) without return types