BaşlayınÜcretsiz Başlayın

Combining multiple filter conditions

You are interested in how the number of streams grows for the most popular songs and artists. You will do this by finding songs that were extremely popular (having more than 10 million streams in a day) or released by a specific artist.

The DataFrame spotify_df has been created for you.

Bu egzersiz

Introduction to Polars

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Filter for popular songs by Ed Sheeran
filtered_df = spotify_df.filter(____) 

print(filtered_df)
Kodu Düzenle ve Çalıştır