beberapa arg untuk panda berlaku

df["col_added"] = df.apply(lambda x: add_a_b(x["col_1"], x["col_2"]), axis = 1)
Cheerful Chimpanzee