class_docstr: Keep only the min/max of streaming values
class_docstr_tok: ["Keep","only","the","min\/max","of","streaming","values"]
code: def __init__(self):
      self.min = np.inf
      self.max = -np.inf
  
imports: from collections import defaultdict, namedtuple
  import warnings
  import numpy
  from numpy.linalg import norm
  import pandas
  from lifelines.exceptions import ConvergenceWarning
  from typing import *
label_desc: Use image node_id 1 to create a new min_max object  with example: obj = min_max()