pandas add 2 columns code example
Example 1: pandas dataframe add two columns int and string
df1 = df['1st Column Name'].map(str) + df['2nd Column Name'].map(str) + ...
Example 2: sum two columns pandas
sum_column = df["col1"] + df["col2"]
df1 = df['1st Column Name'].map(str) + df['2nd Column Name'].map(str) + ...
sum_column = df["col1"] + df["col2"]