pub fn filled(nrows: usize, columns: &[&str], fill: f64) -> Self {
        DataFrame {
            columns: columns.iter().map(|s| s.to_string()).collect(),
            ncols: columns.len(),
            nrows,
            data: vec![fill; nrows * columns.len()],
        }
    }
/// Creates a blank data frame, with the given number of columns and rows, filled with a value.
Creates a blank data frame, with the given number of columns and rows, filled with a value.
Creates a blank data frame with the given number of columns and rows filled with a value .
pub fn filled(nrows: usize, columns: &[&str], fill: f64) -> Self {
        DataFrame {
            columns: columns.iter().map(|s| s.to_string()).collect(),
            ncols: columns.len(),
            nrows,
            data: vec![fill; nrows * columns.len()],
        }
    }
pub fn filled ( nrows : usize , columns : & [ & str ] , fill : f64 ) -> Self { DataFrame { columns : columns . iter ( ) . map ( | s | s . to_string ( ) ) . collect ( ) , ncols : columns . len ( ) , nrows , data : vec ! [ fill nrows columns len ( ) ] , } }
Creates a blank data frame, with the given number of columns and rows, filled with a value.
Creates a blank data frame with the given number of columns and rows filled with a value .
nrows
usize
columns
&[&str]
fill
f64
nrows
usize
columns
&[&str]
fill
f64