code: def reset(self):
      self.memory = [
          np.array([1] + [0] * self.portfolio_size, dtype=np.float32)
      ] * (self.capacity + 1)
      self.index = 0
  
file_path: FinRL/finrl/agents/portfolio_optimization/utils.py
imports: from __future__ import annotations
  from collections import deque
  import numpy
  from torch.utils.data.dataset import IterableDataset
label_desc: Use image node_id 2 for calling the PVM obj's underlying member method code with example usage: obj.reset() without return types