I have a dataframe 'locations' which contains the genre of some stores, and it is very cluttered with lots of different categories, so I want to combine some of the categories so there are less and more simple categories. How do I do this?
Example:
store type
mcdonalds fast-food
nandos sit-down-food
wetherspoons tech-pub
southsider pub-and-dine
Id like to combine categories fast-food and sit-down-food to become just 'food', and tech-pub and pub-and-dine to become just 'pub'. How do I do this?