Are there any plans to support polars dataframes in the interactive dataframe viewer?
Currently the cell crashes when the output is a polars dataframe and as a work around always has to be converted as pandas dataframe.
Would also be nice if SQL cells directly return a polars dataframe instead of a pandas dataframe
I’m happy to announce that the initial support for polars dataframes is already released and available in Datalore Cloud and it will also be included into the next Datalore Enterprise release (2024.4). The library is also a part of the default environment now.
We are still polishing filtering and other interactive features, but feel free to let me know of any issues you may encounter.
Thank you!
Hi,
I have recently upgraded the Datalore Enterprise to 2024.5; however, whenever I run import polars, the kernel failed. Any ideas or suggestion on this please?
Thank you for reporting this, I did manage to reproduce it on my instance, and we are investigating this issue further. I will keep you posted.
Sorry for the delay in replying to your request.
I initially reproduced the issue in an emulated environment on an M3-powered MacBook, but as it turned out - the issue is not present on x86_64 Ubuntu machines.
There are several related issues in Polars repo, and the proposed workaround to use polars-lts-cpu
worked for me:
Should you be using a similar environment as well, we won’t unfortunately be able to provide any additional support since nor macOS hosts nor ARM CPUs are not currently officially supported in Datalore, but please let me know if you are facing this issue on a different platform or operating system.
Thank you!