combine two pandas columns to list code example Example: python transform two columns to a list combine df["pair_var"] = df[["var_1", "var_2"]].values.tolist()