how to concat two columns and make new column code example Example: python merge strings in columns df["period"] = df["Year"].astype(str) + df["quarter"]