Function re_arrow_util::arrow_util::repartition_list_array

source ยท
pub fn repartition_list_array(
    list_array: ListArray,
    lengths: impl IntoIterator<Item = usize>,
) -> Result<ListArray>
Expand description

Repartitions a [ListArray] according to the specified lengths, ignoring previous partitioning.

The specified lengths must sum to the total length underlying values (i.e. the child array).

The validity of the values is ignored.