def reset(self, mode):
        if mode == -1:
            self.prices = self._priceSignalTrain
        else:
            self.prices = self._priceSignalValid
            
        
        self._lastPonctualObservation = [self.prices[0], 0]

        self._counter = 1
        return [[0, 0, 0, 0, 0, 0], 0]
Do binary search to find `what` walking backwards in the buffer.
dataset/ETHPy150Open VinF/deer/examples/toy_env/Toy_env.py/MyEnv.reset--crossover with--dataset/ETHPy150Open guillermooo/Vintageous/ex/ex_location.py/reverse_search