[FEA]: Support UDF expression for referencing self in assign
#12936
Labels
0 - Waiting on Author
Waiting for author to respond to review
feature request
New feature or request
Python
Affects Python cuDF API.
Milestone
Is your feature request related to a problem? Please describe.
While working on a pandas to cudf workflow comparison, I noticed that calling
assign
with a lambda that references the current DataFrame is not supportedDescribe the solution you'd like
Describe alternatives you've considered
Just assigning the column outside the lambda. Unfortunately it's not conducive to method chaining use cases
Additional context
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.assign.html?highlight=assign#pandas.DataFrame.assign
The text was updated successfully, but these errors were encountered: