Function arrow::compute::kernels::arithmetic::multiply_scalar
source · [−]pub fn multiply_scalar<T>(
array: &PrimitiveArray<T>,
scalar: T::Native
) -> Result<PrimitiveArray<T>> where
T: ArrowNumericType,
T::Native: Add<Output = T::Native> + Sub<Output = T::Native> + Mul<Output = T::Native> + Div<Output = T::Native> + Rem<Output = T::Native> + Zero + One,
Expand description
Multiply every value in an array by a scalar. If any value in the array is null then the result is also null.