I have a dataframe through which I have a moving window of time series data, that is - the \'head\' of the dataframe is being added to and the \'tail\' is being removed from