pycaret icon indicating copy to clipboard operation
pycaret copied to clipboard

support polars

Open celestinoxp opened this issue 1 year ago • 5 comments

This pull request introduces an initial solution for handling Polars integration into PyCaret code. Initially, completely replacing the code to use Polars natively may seem like a complex and laborious task. As an intermediate approach, this pull request proposes adding conversion capabilities from DataFrame Polars to DataFrame Pandas at certain points in the code.

Converting a dataset from Polars to Pandas is a workaround that allows PyCaret to work with datasets provided in Polars. This approach offers a viable way to continue Polars integration development and exploration without disrupting your existing workflow.

We welcome any feedback or suggestions to improve this solution and are open to discussing more efficient and robust alternatives for integrating Polars with PyCaret.

Related Issue: #3919

celestinoxp avatar Feb 26 '24 18:02 celestinoxp

Wouldn't converting to pandas remove any benefit from using polars in the first place?

Yard1 avatar Mar 03 '24 04:03 Yard1

Wouldn't converting to pandas remove any benefit from using polars in the first place?

i can work on this, but i'm not sure how can we do... any ideas?

celestinoxp avatar Mar 04 '24 13:03 celestinoxp

@keitazoumana Can you help us know how we can use dataset type checking without having to repeat thousands of lines of code? Thanks

celestinoxp avatar Apr 22 '24 18:04 celestinoxp

Stale pull request message: This PR will be automatically closed by GitHub Actions in 1 week if there is no further activity.

github-actions[bot] avatar Jun 22 '24 02:06 github-actions[bot]

Stale pull request message: This PR will be automatically closed by GitHub Actions in 1 week if there is no further activity.

github-actions[bot] avatar Sep 27 '24 02:09 github-actions[bot]