Function polars::prelude::apply_binary

source ·
pub fn apply_binary<F>(
    a: Expr,
    b: Expr,
    f: F,
    output_type: SpecialEq<Arc<dyn FunctionOutputField>>
) -> Expr
where F: 'static + Fn(Series, Series) -> Result<Option<Series>, PolarsError> + Send + Sync,
Available on crate feature lazy only.
Expand description

Like map_binary, but used in a group_by-aggregation context.

See Expr::apply for the difference between map and apply.