class_docstr: ExtensionArray that is backed by a single NumPy ndarray.
class_docstr_tok: ["ExtensionArray","that","is","backed","by","a","single","NumPy","ndarray","."]
docstr: Make new ExtensionArray inserting new item at location. Follows
  Python list.append semantics for negative values.
  
  Parameters
  ----------
  loc : int
  item : object
  
  Returns
  -------
  type(self)
docstr_tok: ["Make","new","ExtensionArray","inserting","new","item","at","location",".","Follows","Python","list.append","semantics","for","negative","values",".","Parameters","--","--","--","--","--","loc",":","int","item",":","object","Returns","--","--","--","-","type","(","self",")"]
code: def insert(self, loc: int, item) -> Self:
      """
      Make new ExtensionArray inserting new item at location. Follows
      Python list.append semantics for negative values.
  
      Parameters
      ----------
      loc : int
      item : object
  
      Returns
      -------
      type(self)
      """
      loc = validate_insert_loc(loc, len(self))
  
      code = self._validate_scalar(item)
  
      new_vals = np.concatenate(
          (
              self._ndarray[:loc],
              np.asarray([code], dtype=self._ndarray.dtype),
              self._ndarray[loc:],
          )
      )
      return self._from_backing_data(new_vals)
  
imports: from __future__ import annotations
  from functools import wraps
  from typing import TYPE_CHECKING, Any, Literal, cast, overload
  import numpy
  from pandas._libs import lib
  from pandas._libs.arrays import NDArrayBacked
  from pandas._libs.tslibs import is_supported_dtype
  from pandas._typing import ArrayLike, AxisInt, Dtype, F, FillnaOptions, PositionalIndexer2D, PositionalIndexerTuple, ScalarIndexer, Self, SequenceIndexer, Shape, TakeIndexer, npt
  from pandas.errors import AbstractMethodError
  from pandas.util._decorators import doc
  from pandas.util._validators import validate_bool_kwarg, validate_fillna_kwargs, validate_insert_loc
  from pandas.core.dtypes.common import pandas_dtype
  from pandas.core.dtypes.dtypes import DatetimeTZDtype, ExtensionDtype, PeriodDtype
  from pandas.core.dtypes.missing import array_equivalent
  from pandas.core import missing
  from pandas.core.algorithms import take, unique, value_counts_internal
  from pandas.core.array_algos.quantile import quantile_with_mask
  from pandas.core.array_algos.transforms import shift
  from pandas.core.arrays.base import ExtensionArray
  from pandas.core.construction import extract_array
  from pandas.core.indexers import check_array_indexer
  from pandas.core.sorting import nargminmax
label_desc: Use image node_id 27 for calling the NDArrayBackedExtensionArray obj's underlying member method code with example usage: obj.insert(loc, item) and returns: self