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]
Reset environment for a new episode.
dataset/ETHPy150Open VinF/deer/examples/toy_env/Toy_env.py/MyEnv.reset