How do I use multiple conditions to correct values in my dataframe
I want to change
- Apple = Fruit
- Potato = Veg
My data frame is like this
Item Category
Apple Freshco
Potato Sobeys
Orange Fruit
Banana Fruit
I want to change the two categories so the dataframe is like this
Item Categroy
Apple Fruit
Potato Veg
Orange Fruit
Banana Fruit