Search⌘ K

Solution: Plotting the Moving Averages

Explore how to plot rolling 30-day moving averages for stock prices and create heatmaps to visualize correlations. This lesson helps you apply pandas and seaborn functions to analyze financial data from 2008.

Task 1: Ploting the moving averages

Analyze the moving averages for these stocks in the year 2008. Then plot the rolling 30 day average against the close price for Encana and CNQ stocks for 2008.

Hint: ...