Trait polars_ops::chunked_array::ChunkedSet

source ·
pub trait ChunkedSet<T: Copy> {
    // Required method
    fn scatter<V>(self, idx: &[IdxSize], values: V) -> PolarsResult<Series>
       where V: IntoIterator<Item = Option<T>>;
}

Required Methods§

source

fn scatter<V>(self, idx: &[IdxSize], values: V) -> PolarsResult<Series>
where V: IntoIterator<Item = Option<T>>,

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ChunkedSet<bool> for &BooleanChunked

source§

fn scatter<V>(self, idx: &[IdxSize], values: V) -> PolarsResult<Series>
where V: IntoIterator<Item = Option<bool>>,

source§

impl<'a> ChunkedSet<&'a str> for &'a StringChunked

source§

fn scatter<V>(self, idx: &[IdxSize], values: V) -> PolarsResult<Series>
where V: IntoIterator<Item = Option<&'a str>>,

source§

impl<T: PolarsOpsNumericType> ChunkedSet<<T as PolarsNumericType>::Native> for ChunkedArray<T>

source§

fn scatter<V>(self, idx: &[IdxSize], values: V) -> PolarsResult<Series>
where V: IntoIterator<Item = Option<T::Native>>,

Implementors§