SyntaxFix
Write A Post
Hire A Developer
Questions
A simple solution is:
df['col_3'] = df[['col_1','col_2']].apply(lambda x: f(*x), axis=1)