1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Polars

Connected

Exercise

Dropping duplicate values

Duplicate rows in a dataset can skew analysis results. You want to identify and remove duplicates.

The spotify_df DataFrame is available for you.

Instructions

100 XP
  • Create a new DataFrame, unique_df, with duplicate rows (defined by having the same title and artist) removed.