I have a pandas dataframe that contains two columns, one columns has many values and the other column only contains values most of which are same. This is what the dataframe looks like:
Item Price
Apple 10
Banana 5
Mango 10
Pineapple 7
Kiwi 5
Tomatoes 2
Eggs 10
Potatoes 7
Burgers 5
Milk 2
Chicken 10
Coffee 7
Noodles 5
The values on the price column change. I want to be be able to filter the items for which the prices are same and create a new dataframe from them. What I'm not being able to do is the look for different prices which occur, if the prices were to stay the same then I am able to filter the items based on that but I can't when the prices arbitrarily change. This is what I want to achieve, it is only a dataframe for one particular price as an example.
Item Price
Apple 10
Mango 10
Eggs 10
Chicken 10