polars_core::chunked_array::builder

Trait ChunkedBuilder

Source
pub trait ChunkedBuilder<N, T: PolarsDataType> {
    // Required methods
    fn append_value(&mut self, val: N);
    fn append_null(&mut self);
    fn finish(self) -> ChunkedArray<T>;
    fn shrink_to_fit(&mut self);

    // Provided method
    fn append_option(&mut self, opt_val: Option<N>) { ... }
}

Required Methods§

Source

fn append_value(&mut self, val: N)

Source

fn append_null(&mut self)

Source

fn finish(self) -> ChunkedArray<T>

Source

fn shrink_to_fit(&mut self)

Provided Methods§

Source

fn append_option(&mut self, opt_val: Option<N>)

Implementors§