Trait polars_ops::series::SeriesMethods

source ·
pub trait SeriesMethods: SeriesSealed {
    // Provided methods
    fn value_counts(
        &self,
        sort: bool,
        parallel: bool,
        name: String
    ) -> PolarsResult<DataFrame> { ... }
    fn ensure_sorted_arg(&self, operation: &str) -> PolarsResult<()> { ... }
    fn is_sorted(&self, options: SortOptions) -> PolarsResult<bool> { ... }
}

Provided Methods§

source

fn value_counts( &self, sort: bool, parallel: bool, name: String ) -> PolarsResult<DataFrame>

Create a DataFrame with the unique values of this Series and a column "counts" with dtype IdxType

source

fn ensure_sorted_arg(&self, operation: &str) -> PolarsResult<()>

source

fn is_sorted(&self, options: SortOptions) -> PolarsResult<bool>

Checks if a Series is sorted. Tries to fail fast.

Implementations on Foreign Types§

source§

impl SeriesMethods for Series

Implementors§