concat 2 columns and create new column pandas code example Example: add two column values of a datframe into one df["period"] = df["Year"] + df["quarter"]