Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Introduction to Polars

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

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

print(missing_streams)
Code bewerken en uitvoeren