Struct polars_core::prelude::CategoricalChunkedBuilder
source · pub struct CategoricalChunkedBuilder<'a> { /* private fields */ }Available on crate feature
dtype-categorical only.Implementations§
source§impl<'a> CategoricalChunkedBuilder<'a>
impl<'a> CategoricalChunkedBuilder<'a>
pub fn append_value(&mut self, s: &'a str)
pub fn append_null(&mut self)
sourcepub fn drain_iter<I>(&mut self, i: I)where
I: IntoIterator<Item = Option<&'a str>>,
pub fn drain_iter<I>(&mut self, i: I)where I: IntoIterator<Item = Option<&'a str>>,
Appends all the values in a single lock of the global string cache.
pub fn finish(self) -> CategoricalChunked
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CategoricalChunkedBuilder<'a>
impl<'a> Send for CategoricalChunkedBuilder<'a>
impl<'a> Sync for CategoricalChunkedBuilder<'a>
impl<'a> Unpin for CategoricalChunkedBuilder<'a>
impl<'a> UnwindSafe for CategoricalChunkedBuilder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more