polars::chunked_array::ops

Trait ChunkApproxNUnique

Source
pub trait ChunkApproxNUnique {
    // Required method
    fn approx_n_unique(&self) -> u32;
}
Available on crate feature approx_unique only.

Required Methods§

Implementors§

Source§

impl<T> ChunkApproxNUnique for ChunkedArray<T>
where T: PolarsDataType, <T as PolarsDataType>::Physical<'a>: for<'a> TotalHash + for<'a> TotalEq + for<'a> Copy + for<'a> ToTotalOrd, <Option<<T as PolarsDataType>::Physical<'a>> as ToTotalOrd>::TotalOrdItem: for<'a> Hash + for<'a> Eq,