human
Sum of Every Two Columns in Pandas dataframe
assistant
Here is some code to sum the values in each row of every two adjacent columns in dataframe `df`

df.groupby(np.arange(len(df.columns)) // 2 + 1, axis=1).sum().add_prefix('s')

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