pub fn index_of( series: &Series, needle: Scalar, ) -> Result<Option<usize>, PolarsError>
Find the index of a given value (the first and only entry in value_series) within the series.
value_series