Uh oh!
There was an error while loading. Please reload this page.
feat: prql namespace for polars.DataFrame and polars.LazyFrame - #373
Conversation
Uh oh!
There was an error while loading. Please reload this page.
prql sub name space for polars.DataFrame and polars.LazyFrameprql sub namespace for polars.DataFrame and polars.LazyFrameprql sub namespace for polars.DataFrame and polars.LazyFrameprql namespace for polars.DataFrame and polars.LazyFrame
max-sixty
left a comment
There was a problem hiding this comment.
Looks cool!
No objection to starting this as an optional dependency. We can then promote it if it turns out to be used lots. (I had a bit more objection in #374 to making everything optional).
Another option is to detect whether polars is installed in pyprql.__init__ and add the namespace without having to import pyprql.polars_namespace — depends on the polars norms.
eitsupi
commented
Apr 29, 2024
That seems like a good idea, but I don't know if it is good practice to do that here. |
max-sixty
commented
Apr 29, 2024
For sure
It would be something like this in the |
Close#371