1. 学ぶ
  2. /
  3. コース
  4. /
  5. Introduction to Polars

Connected

演習

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.

指示

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