happy new year,
I wrote a function to replace the value of a given pandas dataframe file to generate labels, the function is like this:
# function to r