docstr: do a list replace
docstr_tok: ["do","a","list","replace"]
code: def replace_list(
      self,
      src_list: list[Any],
      dest_list: list[Any],
      inplace: bool = False,
      regex: bool = False,
  ) -> Self:
      """do a list replace"""
      inplace = validate_bool_kwarg(inplace, "inplace")
  
      bm = self.apply_with_block(
          "replace_list",
          src_list=src_list,
          dest_list=dest_list,
          inplace=inplace,
          regex=regex,
          using_cow=using_copy_on_write(),
          already_warned=_AlreadyWarned(),
      )
      bm._consolidate_inplace()
      return bm
  
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 19 for calling the DataManager obj's underlying member method code with example usage: obj.replace_list(src_list, dest_list, inplace, regex) and returns: bm