Struct polars_core::prelude::CategoricalChunked
source · [−]pub struct CategoricalChunked { /* private fields */ }
Implementations
sourceimpl CategoricalChunked
impl CategoricalChunked
pub fn sort_with(&self, options: SortOptions) -> CategoricalChunked
sourcepub fn sort(&self, reverse: bool) -> CategoricalChunked
pub fn sort(&self, reverse: bool) -> CategoricalChunked
Returned a sorted ChunkedArray
.
sourcepub fn argsort(&self, options: SortOptions) -> IdxCa
pub fn argsort(&self, options: SortOptions) -> IdxCa
Retrieve the indexes needed to sort this array.
sourceimpl CategoricalChunked
impl CategoricalChunked
pub fn full_null(name: &str, length: usize) -> CategoricalChunked
sourceimpl CategoricalChunked
impl CategoricalChunked
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn set_lexical_sorted(&mut self, toggle: bool)
sourcepub fn get_rev_map(&self) -> &Arc<RevMapping>
pub fn get_rev_map(&self) -> &Arc<RevMapping>
Get a reference to the mapping of categorical types to the string values.
Trait Implementations
sourceimpl Clone for CategoricalChunked
impl Clone for CategoricalChunked
sourcefn clone(&self) -> CategoricalChunked
fn clone(&self) -> CategoricalChunked
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl From<&'_ CategoricalChunked> for DictionaryArray<u32>
impl From<&'_ CategoricalChunked> for DictionaryArray<u32>
sourcefn from(ca: &CategoricalChunked) -> Self
fn from(ca: &CategoricalChunked) -> Self
Performs the conversion.
sourceimpl From<&'_ CategoricalChunked> for DictionaryArray<i64>
impl From<&'_ CategoricalChunked> for DictionaryArray<i64>
sourcefn from(ca: &CategoricalChunked) -> Self
fn from(ca: &CategoricalChunked) -> Self
Performs the conversion.
sourceimpl IntoSeries for CategoricalChunked
impl IntoSeries for CategoricalChunked
sourceimpl LogicalType for CategoricalChunked
impl LogicalType for CategoricalChunked
Auto Trait Implementations
impl !RefUnwindSafe for CategoricalChunked
impl Send for CategoricalChunked
impl Sync for CategoricalChunked
impl Unpin for CategoricalChunked
impl !UnwindSafe for CategoricalChunked
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more