polars_core::utils

Function split_and_flatten

Source
pub fn split_and_flatten<C: Container>(container: &C, target: usize) -> Vec<C>
Expand description

Split a Container in target elements. The target doesn’t have to be respected if not Deviation of the target might be done to create more equal size chunks.