Cómo aplicar el método de clase a Pandas Python
# 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))
Shanti