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.
Deze oefening maakt deel uit van de cursus
Introduction to Python for Finance
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Subset the first three elements
prices_subset_1 = prices_array[____:____]
print(prices_subset_1)