# 9.34:  Resample to show monthly returns.  Use .resample('M') with .mean() to get the average price
# for each month, then add .pct_change() to calculate percent change.

monthly_returns = df['close'].resample('M').mean().pct_change()

monthly_returns

