Example #1
0
    def lag(
        self,
        offset: int | ir.IntegerValue | None = None,
        default: Value | None = None,
    ) -> Column:
        import ibis.expr.operations as ops

        return ops.Lag(self, offset, default).to_expr()
Example #2
0
def lag(arg, offset=None, default=None):
    return _ops.Lag(arg, offset, default).to_expr()