Get startedGet started for free

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.

This exercise is part of the course

Introduction to Polars

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Find rows with missing stream counts
missing_streams = spotify_df.____

print(missing_streams)
Edit and Run Code