Comment appliquer la méthode de classe à 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