Skip to content

Commit

Permalink
Update to changed API.
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Jan 7, 2025
1 parent 0a61902 commit 8c3e0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-ops/src/series/ops/index_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn index_of(series: &Series, needle: Scalar) -> PolarsResult<Option<usize>>
return Ok(None);
}

if series.dtype().is_numeric() {
if series.dtype().is_primitive_numeric() {
return Ok(downcast_as_macro_arg_physical!(
series,
try_index_of_numeric_ca,
Expand Down

0 comments on commit 8c3e0d4

Please sign in to comment.