class_docstr: Namespace for list related methods.
class_docstr_tok: ["Namespace","for","list","related","methods","."]
docstr: Take sublists by multiple indices.
  
  .. deprecated:: 0.19.14
      This method has been renamed to :func:`gather`.
  
  Parameters
  ----------
  indices
      Indices to return per sublist
  null_on_oob
      Behavior if an index is out of bounds:
      True -> set as null
      False -> raise an error
      Note that defaulting to raising an error is much cheaper
docstr_tok: ["Take","sublists","by","multiple","indices",".","..","deprecated",":",":","0.19.14","This","method","has","been","renamed","to",":","func",":","`","gather","`",".","Parameters","--","--","--","--","--","indices","Indices","to","return","per","sublist","null_on_oob","Behavior","if","an","index","is","out","of","bounds",":","True","-",">","set","as","null","False","-",">","raise","an","error","Note","that","defaulting","to","raising","an","error","is","much","cheaper"]
code: def take(
      self,
      indices: Series | list[int] | list[list[int]],
      *,
      null_on_oob: bool = False,
  ) -> Series:
      """
      Take sublists by multiple indices.
  
      .. deprecated:: 0.19.14
          This method has been renamed to :func:`gather`.
  
      Parameters
      ----------
      indices
          Indices to return per sublist
      null_on_oob
          Behavior if an index is out of bounds:
          True -> set as null
          False -> raise an error
          Note that defaulting to raising an error is much cheaper
      """
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Any, Callable, Sequence
  from polars import functions
  from polars.series.utils import expr_dispatch
  from polars.utils._wrap import wrap_s
  from polars.utils.deprecation import deprecate_renamed_function, deprecate_renamed_parameter
label_desc: Use image node_id 40 for calling the ListNameSpace obj's underlying member method code with example usage: obj.take(indices) without return types