code: def cummin(expr, sort=None, ascending=True, unique=False,
             preceding=None, following=None):
      return _cumulative_op(expr, CumMin, sort=sort, ascending=ascending,
                            unique=unique, preceding=preceding,
                            following=following)