Trait polars::prelude::SeriesBinaryUdf

source ·
pub trait SeriesBinaryUdf: Send + Sync {
    // Required method
    fn call_udf(&self, a: Series, b: Series) -> Result<Series, PolarsError>;
}
Available on crate feature lazy only.
Expand description

A wrapper trait for any binary closure Fn(Series, Series) -> PolarsResult<Series>

Required Methods§

Trait Implementations§

source§

impl Debug for dyn SeriesBinaryUdf

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more

Implementors§