- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Request to add Polars (dataframe) backend #351
Comments
Can you explain a bit more about what you mean by "backend"? Do you want to use the dataframes as your If so, you can always implement the trait bounds from the solver on those types, and |
I haven't used Polars yet, therefore I can't really comment on this. This requires someone with Polars expertise.
That's true; however in that case you would be implementing a foreign trait on a foreign type which is prohibited by the orphan rule. To circumvent this limitation the newtype pattern is necessary. Note that this isn't really prohibiting, just a bit of an annoyance. |
Probably "backend" is not the correct term. What I meant is can Polars support be added similar to ndarray or nalgebra? My data (CSV) is a mix of strings and numbers, which is happily handled in dataframe (in R or Julia). The data is not pure numbers. Instead of doing multiple conversion (CSV -> polars -> ndarray / nalgebra), would love to see argmin{} handle directly Polars data format. Just a suggestion. |
I think there are just too many choices for data/math backend. I'm closing this ticket. If someone want to pick it up, perhaps, ideally a PR - like PR 549. |
Would it be possible to add Polars (dataframe) as backend? Thanks.
The text was updated successfully, but these errors were encountered: