[][src]Trait polars::chunked_array::unique::Unique

pub trait Unique<T> {
    fn unique(&self) -> ChunkedArray<T>;
fn arg_unique(&self) -> Vec<usize>; }

Required methods

fn unique(&self) -> ChunkedArray<T>

Get unique values of a ChunkedArray

fn arg_unique(&self) -> Vec<usize>

Get first index of the unique values in a ChunkedArray.

Loading content...

Implementors

impl Unique<BooleanType> for BooleanChunked[src]

impl Unique<Utf8Type> for Utf8Chunked[src]

impl<T> Unique<T> for ChunkedArray<T> where
    T: PolarsIntegerType,
    T::Native: Hash + Eq,
    ChunkedArray<T>: ChunkOps
[src]

impl<T, '_> Unique<T> for &'_ ChunkedArray<T> where
    T: PolarsNumericType,
    T::Native: NumCast + ToPrimitive,
    ChunkedArray<T>: ChunkOps
[src]

Loading content...