Replies: 2 comments
-
For the moment got around the problem by using string replace function and avoided using apply completely but still wondering why it caused issues especially when virtual column using apply is present on the df to be joined.. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this is a duplicate of #1282 which is fixed in #1966 which should be released soon (4.9) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had a need to merge multiple data frames based on extracted info from a text column. Had to use lamda function. The merge/join works fine if the virtual column is present only on base df but join fails and throws the error if virtual column has lamda function on dataframe to be joined. (It really doesn't matter if the virtual column with lamda is not used as join column. Just the mere presence in df causes the error)
d1=vdf.join(vdf,left_on='a',right_on='a',how='left',lsuffix='_lft', rsuffix='_rt',allow_duplication=True )
Get Error :
ValueError: 'lambda_function' is not in list
Thought, maybe materialize function will help...
It threw up another error as it could not find column. _
_
but materializing the virtual column didn't help and join continue to throw lambda_function is not in list error.
Questions:
Any insight is much helpful. BTW.. thank you very much for this wonderful library...and has started to do all analysis in vaex... where bunch of other alternatives failed or took way too long... so once again thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions