combine columns in dataframe pandas python code example
Example 1: combine df columns python
df["period"] = df["Year"] + df["quarter"]
Example 2: how to merge two column pandas
DataFrame["new_column"] = DataFrame["column1"] + DataFrame["column2"]