I have a pandas dataframe on the form:
Emotion Text
0 0 Say , Jim , how about going for a few beers af...
1 0 You know that is tempting but is really not g...
2 0 What do you mean ? It will help us to relax .
3 0 Do you really think so ? I don't . It will ju...
4 0 I guess you are right.But what shall we do ? ...
What I want to do is convert the Emotion column based on a dictionary mapping:
EMOTIONS = {0: neutral, 1: anger, 2: disgust, 3: fear, 4: happiness}