Skip to main content

eval_expression

Function eval_expression 

Source
pub fn eval_expression(expr: &str, data: &DataFrame) -> Option<Vec<Value>>
Expand description

Evaluate expr over every row of data, producing one Value per row (non-finite results become Value::Na). Returns None if the string is not a valid expression or references no existing column (so a plain unknown column name / typo is left for the caller to handle, not silently computed).