pub fn parse(text: &str, dtype: &DataType) -> Result<Scalar, String>Expand description
text as a literal of dtype (number, flag, date, zoned datetime, time, duration,
decimal at the column’s scale); text and categories stay text. The error says the
expected form. Whole numbers read as i64/u64 (so < 300 works on i8); floats
at the column’s precision.