append two columns in python code example Example: how to merge two column pandas DataFrame["new_column"] = DataFrame["column1"] + DataFrame["column2"]