Skip to content
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

Is it possible to use Polars instead of ndarray? #286

Closed
ritvikos opened this issue Dec 27, 2022 · 1 comment
Closed

Is it possible to use Polars instead of ndarray? #286

ritvikos opened this issue Dec 27, 2022 · 1 comment

Comments

@ritvikos
Copy link

Hello!
I'm new to Linfa and ML in Rust.
Is it possible to use Polars DataFrames instead of ndarray with Linfa ?

@quietlychris
Copy link
Member

At the moment, linfa doesn't support the direct use of Polars dataframes as an input; it's likely you'll need to roll your own conversion between the data represented by those data types and ndarray's. There's been related discussion of this in #285; I'm closing this issue in favor of that one, which also links to ndarray-related discussion around Apache Arrow compatibility, since that's what Polars uses under the hood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants