polars::prelude::arity

Function binary_elementwise_values

Source
pub fn binary_elementwise_values<T, U, V, F, K>(
    lhs: &ChunkedArray<T>,
    rhs: &ChunkedArray<U>,
    op: F,
) -> ChunkedArray<V>
where T: PolarsDataType, U: PolarsDataType, V: PolarsDataType, F: for<'a> FnMut(<T as PolarsDataType>::Physical<'a>, <U as PolarsDataType>::Physical<'a>) -> K, <V as PolarsDataType>::Array: ArrayFromIter<K>,