Function polars_arrow::kernels::set::set_with_mask [−][src]
pub fn set_with_mask<T: NativeType>(
array: &PrimitiveArray<T>,
mask: &BooleanArray,
value: T,
data_type: DataType
) -> 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.