insert new column as sum of all columns in pandas code example Example: sum two columns pandas sum_column = df["col1"] + df["col2"]