add two new column to dataframe pandas code example
Example 1: add two column values of a datframe into one
df["period"] = df["Year"] + df["quarter"]
Example 2: how to merge two column pandas
DataFrame["new_column"] = DataFrame["column1"] + DataFrame["column2"]