Hi, there is an error on the notebook. The column "volume" doesn't exist in the stock dataframe
Hi,
For the exercise, we have taken the price data of S&P500 stocks in price dataframe. Similarly, the volume of S&P500 stocks is stored in volume dataframe.
Now, we are using the stock dataframe to store the results of our calculations. Thus, in the stock dataframe, we have calculated and stored volatility, mean and average dollar volume traded.
Hope this helps.