how to create a column by concatenate other columns in pandas code example Example: python merge strings in columns df["period"] = df["Year"].astype(str) + df["quarter"]