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: SeedableRandomState,
) -> ChunkedArray<UInt64Type> { ... }
fn ensure_sorted_arg(&self, operation: &str) -> Result<(), PolarsError> { ... }
fn is_sorted(&self, options: SortOptions) -> Result<bool, PolarsError> { ... }
fn is_sorted_any(
&self,
descending: Option<bool>,
nulls_last: Option<bool>,
) -> 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: SeedableRandomState) -> 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 with concrete options. Tries to fail fast.
For inference of descending / nulls_last, see Self::is_sorted_any.
fn is_sorted_any( &self, descending: Option<bool>, nulls_last: Option<bool>, ) -> Result<bool, PolarsError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".