Skip to content

Commit

Permalink
Update py-polars/polars/utils/udfs.py
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Edward Gorelli <[email protected]>
  • Loading branch information
alexander-beedie and MarcoGorelli authored Jul 27, 2023
1 parent 45ac285 commit d066900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py-polars/polars/utils/udfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def _get_target_name(self, col: str, expression: str) -> str:
while True:
name = f"srs{next(n)}"
if not re.search(rf"\b{name}\b", search_expr):
self._apply_target_name = name
return name

raise NotImplementedError(f"TODO: apply_target = {self._apply_target!r}")
Expand Down

0 comments on commit d066900

Please sign in to comment.