polars::prelude

Function unique_counts

Source
pub fn unique_counts(s: &Series) -> Result<Series, PolarsError>
Available on crate feature polars-ops only.
Expand description

Returns a count of the unique values in the order of appearance.