polars_core::chunked_array::metadata

Trait MetadataTrait

Source
pub trait MetadataTrait {
    // Required methods
    fn get_flags(&self) -> MetadataFlags;
    fn min_value(&self) -> Option<Scalar>;
    fn max_value(&self) -> Option<Scalar>;
    fn distinct_count(&self) -> Option<IdxSize>;
}

Required Methods§

Source

fn get_flags(&self) -> MetadataFlags

Source

fn min_value(&self) -> Option<Scalar>

Source

fn max_value(&self) -> Option<Scalar>

Source

fn distinct_count(&self) -> Option<IdxSize>

Number of unique non-null values

Implementors§