python merge and get two columns to dataframe code example
Example 1: merge two columns pandas
df["period"] = df["Year"] + df["quarter"]
Example 2: how to merge two column pandas
DataFrame["new_column"] = DataFrame["column1"] + DataFrame["column2"]