You can run Rust code in a Jupyter notebook
github.com
github.com
I used to prototype in Python, then re-implement the final algorithm in Rust for performance on an embedded device. Now I just start prototyping in Rust.
Ultimately it's a young library and so I guess it comes with the territory. It's still fantastic and having used it I'd be hard pressed to go back to pandas even despite all the flaws.
If you're running into issues with the Lazy API, read through these tests and see if that clears anything up: https://github.com/pola-rs/polars/tree/master/polars/polars-...
My usage is very narrow (aggregating a dataframe of bounding box observations over a sliding time window) and I only use streaming Arrow IPC, which both work great!
Ultimately, the ecosystem isn't yet as convenient as something like Python. I used to keep an eye on "Are we learning yet?" [3] - although it's been a while now!
[1] https://datacrayon.com/shop/product/data-analysis-with-rust-...
https://github.com/google/evcxr/blob/main/evcxr_repl/README.....
Being able to type a line of code and get immediate feedback is one of the great pleasures of interpreted languages. Really useful when "try into" or "unwrap", etc. are still unfamiliar!
> This is not an officially supported Google product. It's released by Google only because the (original) author happens to work there.
How to write your own kernel
https://jupyter-client.readthedocs.io/en/stable/kernels.html
All the language kernels (a lot of abandoned ones - the mariaDB one ('binder') will take a while to load but SQL in Jupyter!)
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels
p.s. sadly the Brainfuck kernel is kaput. don't get your hopes up.
Maybe it can be useful for data exploration with polars but I still prefer Python for that.