Function polars_arrow::kernels::set::set_at_idx_no_null [−][src]
pub fn set_at_idx_no_null<T, I>(
array: &PrimitiveArray<T>,
idx: I,
set_value: T,
data_type: DataType
) -> Result<PrimitiveArray<T>> where
T: NativeType,
I: IntoIterator<Item = usize>,
Expand description
Efficiently sets value at the indices from the iterator to set_value
.
The new array is initialized with a memcpy
from the old values.