Function polars_core::utils::split_df_as_ref

source ·
pub fn split_df_as_ref(
    df: &DataFrame,
    target: usize,
    strict: bool
) -> Vec<DataFrame>
Expand description

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

§Panics

if chunks are not aligned