polars_arrow::legacy::kernels::list

Function array_to_unit_list

Source
pub fn array_to_unit_list(array: ArrayRef) -> ListArray<i64>
Expand description

Convert a list [1, 2, 3] to a list type of [[1], [2], [3]]