pub trait ChunkUnique<T>where
    T: PolarsDataType,
{ 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 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.

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

Implementors