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