pub trait SeriesMethods: SeriesSealed {
// Provided methods
fn value_counts(
&self,
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
) -> PolarsResult<DataFrame> { ... }
fn ensure_sorted_arg(&self, operation: &str) -> PolarsResult<()> { ... }
fn is_sorted(&self, options: SortOptions) -> PolarsResult<bool> { ... }
fn is_sorted_any(
&self,
descending: Option<bool>,
nulls_last: Option<bool>,
) -> PolarsResult<bool> { ... }
}Provided Methods§
Sourcefn value_counts(
&self,
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
) -> PolarsResult<DataFrame>
fn value_counts( &self, sort: bool, parallel: bool, name: PlSmallStr, normalize: bool, ) -> PolarsResult<DataFrame>
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 with concrete options. Tries to fail fast.
For inference of descending / nulls_last, see Self::is_sorted_any.