Doubt Pandas - Grouping rows in which an element is common to all

I have a dataset of 200 rows, and it has 3 columns, titled “game”, “platform” and “publisher”. I want only the games that can be played in the “PS4” element of the platform column. So, I want to display only the games that can be played on PS4. How do I do this?
I need urgent help on this, ASAP help will be appreciated :slight_smile:

Super easy, barely an inconvenience. You do: df[df.platform == "PS4"]

3 Likes