Skip to content

Commit

Permalink
Adapt to IR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Jul 25, 2024
1 parent 4ed5c9d commit 98120a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/cudf_polars/cudf_polars/dsl/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,9 @@ def __init__(
if self.name not in (
"mask_nans",
"round",
"setsorted",
"set_sorted",
"unique",
"dropnull",
"drop_nulls",
"fill_null",
):
raise NotImplementedError(f"Unary function {name=}")
Expand Down Expand Up @@ -948,7 +948,7 @@ def do_evaluate(
if maintain_order:
return Column(column).sorted_like(values)
return Column(column)
elif self.name == "setsorted":
elif self.name == "set_sorted":
(column,) = (
child.evaluate(df, context=context, mapping=mapping)
for child in self.children
Expand All @@ -975,7 +975,7 @@ def do_evaluate(
order=order,
null_order=null_order,
)
elif self.name == "dropnull":
elif self.name == "drop_nulls":
(column,) = (
child.evaluate(df, context=context, mapping=mapping)
for child in self.children
Expand Down

0 comments on commit 98120a5

Please sign in to comment.