Trait polars_core::chunked_array::ops::ChunkUnique[][src]

pub trait ChunkUnique<T> {
    fn unique(&self) -> Result<ChunkedArray<T>>;
fn arg_unique(&self) -> Result<UInt32Chunked>; fn n_unique(&self) -> Result<usize> { ... }
fn is_unique(&self) -> Result<BooleanChunked> { ... }
fn is_duplicated(&self) -> Result<BooleanChunked> { ... }
fn value_counts(&self) -> Result<DataFrame> { ... }
fn mode(&self) -> Result<ChunkedArray<T>> { ... } }
Expand description

Get unique values in a ChunkedArray

Required methods

Get unique values of a ChunkedArray

Get first index of the unique values in a ChunkedArray. This Vec is sorted.

Provided methods

Number of unique values in the ChunkedArray

Get a mask of all the unique values.

Get a mask of all the duplicated values.

Count the unique values.

This is supported on crate feature mode only.

The most occurring value(s). Can return multiple Values

Implementors