pub fn accumulate_dataframes_vertical<I>(dfs: I) -> Result<DataFrame>
where
    I: IntoIterator<Item = DataFrame>,
{
    let mut iter = dfs.into_iter();
    let mut acc_df = iter.next().unwrap();
    for df in iter {
        acc_df.vstack_mut(&df)?;
    }
    Ok(acc_df)
}
/// This takes ownership of the DataFrame so that drop is called earlier.
This takes ownership of the DataFrame so that drop is called earlier.
This takes ownership of the DataFrame so that drop is called earlier .
pub fn accumulate_dataframes_vertical<I>(dfs: I) -> Result<DataFrame>
where
    I: IntoIterator<Item = DataFrame>,
{
    let mut iter = dfs.into_iter();
    let mut acc_df = iter.next().unwrap();
    for df in iter {
        acc_df.vstack_mut(&df)?;
    }
    Ok(acc_df)
}
pub fn accumulate_dataframes_vertical < I > ( dfs : I ) -> Result < DataFrame > where I : IntoIterator < Item = DataFrame > , { let mut iter = dfs . into_iter ( ) ; let mut acc_df = iter . next ( ) . unwrap ( ) ; for df in iter { acc_df . vstack_mut ( & df ) ? ; } Ok ( acc_df ) }
This takes ownership of the DataFrame so that drop is called earlier.
This takes ownership of the DataFrame so that drop is called earlier .
dfs
I
dfs
I