combine two pandas coloumn into one 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"]
df["period"] = df["Year"] + df["quarter"]
DataFrame["new_column"] = DataFrame["column1"] + DataFrame["column2"]