how merge two rows of a dataframe code example Example: combine df columns python df["period"] = df["Year"] + df["quarter"]