class_docstr: A stream that generates a rolling window of values from a stream.
  
  Parameters
  ----------
  window : int
      The size of the rolling window.
  min_periods : int, default 1
      The number of periods to wait before producing values from the aggregation
      function.
code: def __init__(self, window: int, min_periods: int = 1) -> None:
      super().__init__()
      assert min_periods <= window
      self.window = window
      self.min_periods = min_periods
  
      self.n = 0
      self.nan = 0
  
      self.history = []
  
imports: from typing import List, Callable
  import numpy
  from tensortrade.feed.core.base import Stream
  from tensortrade.feed.api.float import Float
label_desc: Use image node_id 1 to create a new Rolling object from inherited base classes: Stream with example: obj = Rolling(window, min_periods)