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