pub fn split_df_as_ref( df: &DataFrame, target: usize, strict: bool, ) -> Vec<DataFrame>
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.
DataFrame
target
if chunks are not aligned