how to merge a column and a row dataframe in pandas code example
Example 1: combining 2 dataframes pandas
df_3 = pd.concat([df_1, df_2])
Example 2: combine df columns python
df["period"] = df["Year"] + df["quarter"]
df_3 = pd.concat([df_1, df_2])
df["period"] = df["Year"] + df["quarter"]