polars::chunked_array::ops::arity

Function try_binary

Source
pub fn try_binary<T, U, V, F, Arr, E>(
    lhs: &ChunkedArray<T>,
    rhs: &ChunkedArray<U>,
    op: F,
) -> Result<ChunkedArray<V>, E>
where T: PolarsDataType, U: PolarsDataType, V: PolarsDataType<Array = Arr>, Arr: Array, F: FnMut(&<T as PolarsDataType>::Array, &<U as PolarsDataType>::Array) -> Result<Arr, E>, E: Error,
Expand description

Applies a kernel that produces Array types.