Function polars_lazy::dsl::apply_binary
source · pub fn apply_binary<F>(
a: Expr,
b: Expr,
f: F,
output_type: SpecialEq<Arc<dyn FunctionOutputField>>
) -> Exprwhere
F: 'static + Fn(Series, Series) -> Result<Option<Series>, PolarsError> + Send + Sync,
Expand description
Like map_binary
, but used in a group_by-aggregation context.
See Expr::apply
for the difference between map
and apply
.