concatenating mutiple columns with space to another column pandas code example
Example: python merge strings in columns
df["period"] = df["Year"].astype(str) + df["quarter"]
df["period"] = df["Year"].astype(str) + df["quarter"]