Human: How to resample a dataframe with different functions applied to each column? Assistant: 
Here is some code to resample dataframe `frame` to resolution of 1 hour `1H` for timeseries index, summing values in the column `radiation` averaging those in column `tamb`

frame.resample('1H').agg({'radiation': np.sum, 'tamb': np.mean})

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