-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Namespace API for DataFrame/LazyFrame #60
Comments
abhiaagarwal
changed the title
Expressions API for DataFrame/LazyFrame
Namespace API for DataFrame/LazyFrame
Jan 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, Polars supports defining custom functions on the DataFrame namespace on the python side with
pl.api.register_dataframe_namespace
/pl.api.register_lazyframe_namespace
. Would it be possible for pyo3-polars to support creating a custom DataFrame namespace with this same functionality, with the defined transformations living in rust?For a somewhat abstract example, I have a function written in rust that takes a pl.DataFrame as an argument, loads a xgboost Booster, calculates a column, then returns the DataFrame. I want to expose this exact same functionality in Python by registering some custom namespace.
The text was updated successfully, but these errors were encountered: