Series:
- hourly_returns: The hourly resampled bars variance of the returns.
- hourly_variances: The variance of the hourly variances.</p>
</dd>
</dl>
<p>Notes:</p>
<p>This function calculates the returns as the percentage change in the ‘Close’ column of the input
DataFrame, and then groups the data by hour using the <cite>pd.Grouper</cite> method. The hourly resampled bars
variance of the returns is then calculated for each hour, and the variance of these variances is
calculated and returned as <cite>h