how to concatenate 2 columns in another column in pandas code example Example: add two column values of a datframe into one df["period"] = df["Year"] + df["quarter"]