datafusion_python::datafusion_common::utils

Function array_into_list_array_nullable

Source
pub fn array_into_list_array_nullable(
    arr: Arc<dyn Array>,
) -> 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]] The field in the list array is nullable.