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.
We'll cover the following...
We'll cover the following...
Problem definition
Your music analyst wants to identify which bands are very popular/popular/not popular based on the rules below:
- A band is
very popularif they have greater than 1000playsOR if they have greater than 50fans.