Skip to content

Commit

Permalink
fix(python,rust): make error message consistent with other calls to p…
Browse files Browse the repository at this point in the history
…ython functions from rust
  • Loading branch information
alexander-beedie committed Sep 18, 2023
1 parent 7f8cd7d commit dc0350d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/src/map/lazy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pub(crate) fn call_lambda_with_series_slice(
// call the lambda and get a python side Series wrapper
match lambda.call1(py, (wrapped_s,)) {
Ok(pyobj) => pyobj,
Err(e) => panic!("python apply failed: {}", e.value(py)),
Err(e) => panic!("python function failed: {}", e.value(py)),
}
}

Expand Down

0 comments on commit dc0350d

Please sign in to comment.