datafusion_python::datafusion_common::utils

Function array_into_list_array

Source
pub fn array_into_list_array(
    arr: Arc<dyn Array>,
    nullable: bool,
) -> GenericListArray<i32>
Expand description

Array Utils Wrap an array into a single element ListArray. For example [1, 2, 3] would be converted into [[1, 2, 3]]