class_docstr: Running min over a window.
  
  Parameters
  ----------
  window_size
      Size of the rolling window.
  
  Examples
  --------
  
  >>> from river import stats
  
  >>> X = [1, -4, 3, -2, 2, 1]
  >>> rolling_min = stats.RollingMin(2)
  >>> for x in X:
  ...     rolling_min.update(x)
  ...     print(rolling_min.get())
  1
  -4
  -4
  -2
  -2
  1
class_docstr_tok: ["Running","min","over","a","window",".","Parameters","--","--","--","--","--","window_size","Size","of","the","rolling","window",".","Examples","--","--","--","--",">",">",">","from","river","import","stats",">",">",">","X","=","[","1",",","-4",",","3",",","-2",",","2",",","1","]",">",">",">","rolling_min","=","stats.RollingMin","(","2",")",">",">",">","for","x","in","X",":","...","rolling_min.update","(","x",")","...","print","(","rolling_min.get","(",")",")","1","-4","-4","-2","-2","1"]
code: def __init__(self, window_size: int):
      self.window = utils.SortedWindow(size=window_size)
  
file_path: river/river/stats/minimum.py
imports: from __future__ import annotations
  import math
  from river import stats, utils
label_desc: Use image node_id 1 to create a new RollingMin object from inherited base classes: stats.base with example: obj = RollingMin(window_size)