concatenate two string columns pandas code example
Example 1: python merge strings in columns
df["period"] = df["Year"].astype(str) + df["quarter"]
Example 2: concatenate dataframes using one column
print (pd.merge(df1, df2, on='column'))
df["period"] = df["Year"].astype(str) + df["quarter"]
print (pd.merge(df1, df2, on='column'))