pandas concat and store in column code example Example: combine df columns python df["period"] = df["Year"] + df["quarter"]