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

Simple sampling and calculating with NumPy

You can also use numpy to calculate parameters or statistics from a list or pandas Series.

You'll be turning it up to eleven and looking at the loudness property of each song.

spotify_population is available and numpy is loaded as np.

Bu egzersiz

Sampling in Python

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Create a pandas Series from the loudness column of spotify_population
loudness_pop = ____

# Sample 100 values of loudness_pop
loudness_samp = ____

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