Add option to support non-pandas dataframes (e.g. polars) in Python recipes
![info-rchitect](https://us.v-cdn.net/6038231/uploads/lithium_attachments/n9089iA7C08C68990A5113.png)
Hi,
There are many pandas alternatives. One that is new and very fast is polars. Polars is built on Rust so it is memory safe and runs in parallel by design. I use polars in one of my recipes but have to convert it to pandas to write the dataset.
thx
Comments
-
ClemenceB Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Product Ideas Manager Posts: 18 Dataiker
Thanks @info-rchitect
, this has been added to the backlog! -
Hello! I am very interested in this as well. Is there any easy way of checking the life cycle of the updates in the backlog (for example, if they have a tracking number, if they have been implemented in some version...)? Thanks!
-
Completely agree!
Currently, there is no benefit in using Polars, duckdb, Ray or Dask, because retrieving dataset always means getting Pandas DataFrame object. Converting it to anything else defeats the purpose.
You can write the results directly to the database, but it is a workaround: you'd still have to initialize the dataset object first. And your code environment would also require you to have db drivers and so on.
Would be nice to have different options for data retrieval and data writing. Polars seems like a good candidate.
-
Would love to see polars supported alongside pandas