how to combine add all values of a dataframe to another based on a column code example
Example 1: combine df columns python
df["period"] = df["Year"] + df["quarter"]
Example 2: combine column in csv python pandas
df['period'] = df[['Year', 'quarter', ...]].agg('-'.join, axis=1)