CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Introduction to Polars

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

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

print(missing_streams)
Modifier et exécuter le code