Skip to content

Commit

Permalink
Remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonspeed committed Sep 24, 2024
1 parent 74e06ea commit e0c2344
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/polars-core/src/series/arithmetic/list_borrowed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ impl ListChunked {
///
/// Run the given `op` on `self` and `rhs`.
fn arithm_helper(&self, rhs: &Series, op: Op, has_nulls: Option<bool>) -> PolarsResult<Series> {
// TODO will want to support additional types eventually.
polars_ensure!(
self.dtype().leaf_dtype().is_numeric() && rhs.dtype().leaf_dtype().is_numeric(),
InvalidOperation: "List Series can only do arithmetic operations if they and other Series are numeric, left and right dtypes are {:?} and {:?}",
Expand Down

0 comments on commit e0c2344

Please sign in to comment.