How do I assign specific values to categorical variables
I have a Pandas data frame with columns within a survey with the following categorical values - Increased, Decreased, Neutral. My question is how can I assign specific numerical values to these categorical values, namely +1 for Increased, -1 for Decreased and 0 for Neutral.
Topic data visualization pandas python categorical-data
Category Data Science