polars_arrow::legacy::kernels::set

Function set_at_nulls

Source
pub fn set_at_nulls<T>(array: &PrimitiveArray<T>, value: T) -> PrimitiveArray<T>
where T: NativeType,
Expand description

Set values in a primitive array where the primitive array has null values. this is faster because we don’t have to invert and combine bitmaps