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

Exercise

Subsetting elements from an array

Subsetting arrays is similar to subsetting lists. In this exercise, you will practice just that.

numpy is imported as np and prices_array is available in your workspace.

Instructions 1/3

undefined XP
    1
    2
    3

Subset the first three elements from prices_array.