Function df_from_sl3

Source
pub fn df_from_sl3<F>(
    dbn: &str,
    n: &Vec<&str>,
    qry: &str,
    p: &[(&str, Value)],
    f: F,
) -> Result<DataFrame, Box<dyn Error>>
where F: for<'a> FnMut(&'a Row) -> Vec<AnyValue<'_>>,
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”)