I wish to use a pandas ways to partition my dataframe based on the time index to check every 5 minutes and assign the value in a new column based on the 5 mins range.