pub fn concat_df<'a, I>(dfs: I) -> Result<DataFrame>
where
    I: IntoIterator<Item = &'a DataFrame>,
{
    let mut iter = dfs.into_iter();
    let mut acc_df = iter.next().unwrap().clone();
    for df in iter {
        acc_df.vstack_mut(df)?;
    }
    Ok(acc_df)
}
/// Concat the DataFrames to a single DataFrame.
Concat the DataFrames to a single DataFrame.
Concat the DataFrames to a single DataFrame .
pub fn concat_df<'a, I>(dfs: I) -> Result<DataFrame>
where
    I: IntoIterator<Item = &'a DataFrame>,
{
    let mut iter = dfs.into_iter();
    let mut acc_df = iter.next().unwrap().clone();
    for df in iter {
        acc_df.vstack_mut(df)?;
    }
    Ok(acc_df)
}
pub fn concat_df < ' a , I > ( dfs : I ) -> Result < DataFrame > where I : IntoIterator < Item = & ' a DataFrame > , { let mut iter = dfs . into_iter ( ) ; let mut acc_df = iter . next ( ) . unwrap ( ) . clone ( ) ; for df in iter { acc_df . vstack_mut ( df ) ? ; } Ok ( acc_df ) }
Concat the DataFrames to a single DataFrame.
Concat the DataFrames to a single DataFrame .
dfs
I
dfs
I