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> { ... }
}
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. Tries to fail fast.