Adding up all columns in a dataframe,df['sum'] = df.sum(axis=1)