对多个列应用函数以创建多个新列我需要在df上应用一个函数来创建多个新列。作为函数的输入,我需要(I)一行或(ii)多列 def divideAndMultiply(x,y): return x/y, x*y df["e" ...2024-06-18 已阅读: n次