1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to Polars

Connected

अभ्यास

Finding and dropping missing values

The Spotify streaming dataset contains information about songs and their daily streaming counts. Like many real-world datasets, it contains some missing values that you need to handle before diving in with your analysis.

The spotify_df DataFrame is available for you.

निर्देश 1/2

undefined XP
  • 1
    • Use filtering to find all rows in spotify_df where the "streams" column contains null values.
  • 2
    • Create a new DataFrame, partial_clean_df, that drops rows with missing values in the "streams" column of spotify_df.