docstr: Collect list elements based on given indices.
  
  Parameters
  ----------
  lists_indices: List type arrays
      Specifies what to collect from each row
  
  Returns
  -------
  ListColumn
  
  Examples
  --------
  >>> s = cudf.Series([[1, 2, 3], None, [4, 5]])
  >>> ds = dask_cudf.from_cudf(s, 2)
  >>> ds
  0    [1, 2, 3]
  1         None
  2       [4, 5]
  dtype: list
  >>> ds.list.take([[0, 1], [], []]).compute()
  0    [1, 2]
  1      None
  2        []
  dtype: list
docstr_tok: ["Collect","list","elements","based","on","given","indices",".","Parameters","--","--","--","--","--","lists_indices",":","List","type","arrays","Specifies","what","to","collect","from","each","row","Returns","--","--","--","-","ListColumn","Examples","--","--","--","--",">",">",">","s","=","cudf.Series","(","[","[","1",",","2",",","3","]",",","None",",","[","4",",","5","]","]",")",">",">",">","ds","=","dask_cudf.from_cudf","(","s",",","2",")",">",">",">","ds","0","[","1",",","2",",","3","]","1","None","2","[","4",",","5","]","dtype",":","list",">",">",">","ds.list.take","(","[","[","0",",","1","]",",","[","]",",","[","]","]",")",".compute","(",")","0","[","1",",","2","]","1","None","2","[","]","dtype",":","list"]
code: def take(self, lists_indices):
      """
      Collect list elements based on given indices.
  
      Parameters
      ----------
      lists_indices: List type arrays
          Specifies what to collect from each row
  
      Returns
      -------
      ListColumn
  
      Examples
      --------
      >>> s = cudf.Series([[1, 2, 3], None, [4, 5]])
      >>> ds = dask_cudf.from_cudf(s, 2)
      >>> ds
      0    [1, 2, 3]
      1         None
      2       [4, 5]
      dtype: list
      >>> ds.list.take([[0, 1], [], []]).compute()
      0    [1, 2]
      1      None
      2        []
      dtype: list
      """
      return self.d_series.map_partitions(
          lambda s: s.list.take(lists_indices), meta=self.d_series._meta
      )
  
file_path: cudf/python/dask_cudf/dask_cudf/accessors.py
label_desc: Use image node_id 6 for calling the ListMethods obj's underlying member method code with example usage: obj.take(lists_indices) and returns: self