code: def append(self, data, value):
      self.data[self.index] = data
      self.update(self.index + self.size - 1, value)
      self.index = (self.index + 1) % self.size
      self.full = self.full or self.index == 0
      self.max = max(value, self.max)
  
file_path: SerpentAI/serpent/machine_learning/reinforcement_learning/rainbow_dqn/segment_tree.py
label_desc: Use image node_id 3 for calling the SegmentTree obj's underlying member method code with example usage: obj.append(data, value) without return types