pub fn df_from_sl3_type<F>(
dbn: &str,
n: &Vec<&str>,
t: &Vec<DataType>,
qry: &str,
p: &[(&str, Value)],
f: F,
) -> Result<DataFrame, Box<dyn Error>>Expand description
create DataFrame from sl3 with column names and DataTypes
- n: &Vec<&str>
- t: &Vec<DataType>
- p: &[(&str, sqlite::Value)]
- f: FnMut(&‘a sqlite::Row) -> Vec<AnyValue<’_>>
- df_from_sl3_type(“db.sl3”, n, t, “select * from tbl;”, p, f).expect(“df”)