combine two pandas df code example
Example 1: concat dataframe from list of dataframe
import pandas as pd
df = pd.concat(list_of_dataframes)
Example 2: merge two columns pandas
df["period"] = df["Year"] + df["quarter"]
import pandas as pd
df = pd.concat(list_of_dataframes)
df["period"] = df["Year"] + df["quarter"]