This is just a nitpicking syntactic question...
I have a dataframe, and I want to use list comprehension to evaluate a function using lots of columns.
I know I c
this should work, but honestly, OP figured it himself as well, so +1 OP :)
df['result_col'] = [some_func(*var) for var in zip(*[df[col] for col in ['col_1', 'col_2',... ,'col_n']])]