pub trait SeriesMethods: SeriesSealed {
// Provided methods
fn value_counts(
&self,
sort: bool,
parallel: bool,
name: PlSmallStr,
normalize: bool,
) -> Result<DataFrame, PolarsError> { ... }
fn hash(&self, build_hasher: RandomState) -> ChunkedArray<UInt64Type> { ... }
fn ensure_sorted_arg(&self, operation: &str) -> Result<(), PolarsError> { ... }
fn is_sorted(&self, options: SortOptions) -> Result<bool, PolarsError> { ... }
}
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 hash(&self, build_hasher: RandomState) -> ChunkedArray<UInt64Type>
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.