1. 학습
  2. /
  3. 강의
  4. /
  5. Scaling and Optimizing Data Pipelines with Polars

Connected

연습 문제

Counting genre popularity

To find the most common genres across the catalog, reshape the genres list column so each genre lands on its own row, then compute a sorted value count to see which genres top the list.

The movies DataFrame is preloaded for you.

지침

100 XP
  • Explode the genres list column so each genre has its own row.
  • Compute the top 10 most common genres using a sorted value count.