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

Exercise

Name the outlier

You've identified that a company in the Industrial Technology sector has a P/E ratio of greater than 50. Let's identify this company.

numpy is imported as np, and arrays it_pe (P/E ratios of Industrial Technology companies) and it_names (names of Industrial Technology companies) are available in your workspace.

Instructions

100 XP
  • Identify the P/E ratio greater than 50 and assign it to outlier_price.
  • Identify the company with P/E ratio greater than 50 and assign it to outlier_name.