📅  最后修改于: 2022-03-11 14:46:51.544000             🧑  作者: Mango
# Your Class
class YourClass:
def increase(self,value)
# Do Something
return value + 1
increaser = Yourclass()
df['your column'] = df['new_column'].apply(lambda x: increaser.increase(x))