[Need Help] How to deal with target variable which is also a categorical value?

Assume, I have a dataframe containing target values as School, Airport, Park, Theatre, Laundry.
So, should I add them as categorical values while creating databunch or any other best practice to deal with such a situation?

Currently, I am making a dictionary mapping value to a particular integer and then replacing the target values with their corresponding key in the dictionary.