code: def cummin(self, axis=0, **kwargs):
          
          if axis != 0:
              return self.apply(lambda x: np.minimum.accumulate(x, axis))
  
          return self._cython_transform('cummin', numeric_only=False)
docs: Cumulative min for each group.