ibis
ibis copied to clipboard
feat(polars): support lag and lead
Description of changes
Add support for polars Lag and Lead operations
I don't quite know where to add tests for this, if you guide me I can modify the PR to add them
This requires a lot more work. Because of the way Ibis models window functions, a backend that wants to support them must support compiling ops.WindowFunction first, and then implement support for the individual functions.
You are right, I forgot about it. I'm using the following code in my project to implement the window in polars.