Our great sponsors
-
I have a technical analysis library written for Python using Rust and PyO3 called ZenithTA. A typical Dataframe for a stock has four columns: open, high, low, and close. Currently, I am converting each of the rows into lists to pass into Rust. It would be way easier if the end user could just pass in the dataframe, and I could just manipulate it in Rust. Does anyone have any tips or advice for doing this?
-
Yeah. Once it's in arrow format you can pass things around pretty easily, such as in this polars ffi example: https://github.com/pola-rs/polars/tree/master/examples/python_rust_compiled_function
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
If you use polars, you can go between rust and python for free within the same process. I have made pyo3 extensions to make this easier: https://github.com/pola-rs/pyo3-polars