Introducing the dataset
As mentioned in the video, you'll deal with stock market prices that fluctuate over time. In this exercise you've got historical prices
from two tech companies (Ebay and Yahoo) in the DataFrame prices
. You'll visualize the raw data for the two companies, then generate a scatter plot
showing how the values for each company compare with one another. Finally, you'll add in a "time" dimension to your scatter plot
so you can see how this relationship changes over time.
The data has been loaded into a DataFrame called prices
.
This exercise is part of the course
Machine Learning for Time Series Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Plot the raw values over time
prices.____()
plt.show()