1. Learn
  2. /
  3. Courses
  4. /
  5. Introduction to Python for Finance

Exercise

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.

Instructions 1/2

undefined XP
    1
    2

Calculate the mean and standard deviation of the P/E ratios (it_pe) for the Industrial Technology sector.