polars_core::chunked_array::ops::arity

Function binary_elementwise

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