Search⌘ K

Challenge 3: Is the Band Popular? (More Complex Function) (Easy)

Explore how to use Pandas apply and map methods to create complex functions that classify bands by popularity levels based on plays and fans. Understand how to apply row-wise functions and generate a dictionary mapping band names to popularity categories for data analysis tasks.

Problem definition

Your music analyst wants to identify which bands are very popular/popular/not popular based on the rules below:

  1. A band is very popular if they have greater than 1000 plays OR if they have greater than 50 fans.
...