I have a pandas dataframe named \'stock_data\' with a MultiIndex index of (\'Date\', \'StockID\') and a column \'Price\'. The rows are ordered by date, so for the same stock