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§
fn ensure_sorted_arg(&self, operation: &str) -> PolarsResult<()>
sourcefn is_sorted(&self, options: SortOptions) -> PolarsResult<bool>
fn is_sorted(&self, options: SortOptions) -> PolarsResult<bool>
Checks if a Series
is sorted. Tries to fail fast.