Skip to main content

RustUdf

Trait RustUdf 

Source
pub trait RustUdf: Send + Sync {
    // Required method
    fn apply(&self, columns: &[Series]) -> Result<Series, PolarsError>;
}
Expand description

Rust UDF: takes columns as Series, returns one Series. Used via Expr::map / map_many.

Required Methods§

Source

fn apply(&self, columns: &[Series]) -> Result<Series, PolarsError>

Implementors§