pub fn set_with_mask<T: NativeType>(
array: &PrimitiveArray<T>,
mask: &BooleanArray,
value: T,
dtype: ArrowDataType,
) -> PrimitiveArray<T>
Expand description
Set values in a primitive array based on a mask array. This is fast when large chunks of bits are set or unset.