polars::prelude

Function count_ones

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