Peek at top and bottom
Analyzing historical price data is an important way to try to make future predictions. We will be using a dataset of stock data for the company Alphabet. This data includes opening, closing, high, and low prices per day. It is loaded into the DataFrame alphabet
.
Now it's your time to take a peak!
This exercise is part of the course
Intermediate Python for Finance
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Peak at top five rows
alphabet.____()