pub fn add_scalar<T>(
    array: &PrimitiveArray<T>,
    scalar: T::Native
) -> Result<PrimitiveArray<T>> where
    T: ArrowNumericType,
    T::Native: Add<Output = T::Native>, 
Expand description

Add every value in an array by a scalar. If any value in the array is null then the result is also null.