human
Add Multiple Columns to Pandas Dataframe from Function
assistant
Here is some code to add multiple columns `hour`, `weekday`, `weeknum` to pandas data frame `df` from lambda function `lambdafunc`

df[['hour', 'weekday', 'weeknum']] = df.apply(lambdafunc, axis=1)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.