get sum of column in pandas and store it in a new column code example Example: sum two columns pandas sum_column = df["col1"] + df["col2"]