pandas merge two dataframes combining rows code example
Example 1: merge on row number python
pd.concat([T1,T2],axis=1)
Example 2: merge two columns pandas
df["period"] = df["Year"] + df["quarter"]
pd.concat([T1,T2],axis=1)
df["period"] = df["Year"] + df["quarter"]