how to join columns to make a dataframe in python code example Example: merge two columns pandas df["period"] = df["Year"] + df["quarter"]