polars::prelude

Function leading_ones

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