pub trait SeriesMethods: SeriesSealed {
// Provided methods
fn value_counts(
&self,
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
) -> Result<DataFrame, PolarsError> { ... }
fn ensure_sorted_arg(&self, operation: &str) -> Result<(), PolarsError> { ... }
fn is_sorted(&self, options: SortOptions) -> Result<bool, PolarsError> { ... }
}
Available on crate feature
polars-ops
only.Provided Methods§
Sourcefn value_counts(
&self,
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
) -> Result<DataFrame, PolarsError>
fn value_counts( &self, sort: bool, parallel: bool, name: PlSmallStr, normalize: bool, ) -> Result<DataFrame, PolarsError>
fn ensure_sorted_arg(&self, operation: &str) -> Result<(), PolarsError>
Sourcefn is_sorted(&self, options: SortOptions) -> Result<bool, PolarsError>
fn is_sorted(&self, options: SortOptions) -> Result<bool, PolarsError>
Checks if a Series
is sorted. Tries to fail fast.