pub trait ChunkUnique<T> {
    fn unique(&self) -> Result<ChunkedArray<T>>;
    fn arg_unique(&self) -> Result<IdxCa>;

    fn n_unique(&self) -> Result<usize> { ... }
    fn is_unique(&self) -> Result<BooleanChunked> { ... }
    fn is_duplicated(&self) -> Result<BooleanChunked> { ... }
    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.

Available on crate feature mode only.

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

Implementors