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

Summarizing sector data

In this exercise, you will calculate the mean and standard deviation of P/E ratios for Information Technology and Consumer Staples sectors. numpy is imported as np and the it_pe and cs_pe arrays from the previous exercise are available in your workspace.

Bu egzersiz

Introduction to Python for Finance

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

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Calculate mean and standard deviation
it_pe_mean = np.___(it_pe)
it_pe_std = np.____(it_pe)

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