Trait polars::chunked_array::object::ChunkUnique[][src]

pub trait ChunkUnique<T> {
    fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>;
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>; fn n_unique(&self) -> Result<usize, PolarsError> { ... }
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError> { ... }
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError> { ... }
fn value_counts(&self) -> Result<DataFrame, PolarsError> { ... }
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError> { ... } }
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.

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

Implementors