pola-rs / pyo3-polars

Plugins/extension for Polars
MIT License
232 stars 38 forks source link

Please add examples of passing dataframes between python and rust #73

Closed bionicles closed 4 months ago

bionicles commented 4 months ago

this simple task seems hard. there are 2 examples and none for the simple task of sending a dataframe from python to rust. Maybe i'm just missing something but, basics before brilliance, I could really use help for this, could you please add super basic examples of how to send a pandas dataframe to rust using this crate? If we need to convert pandas to polars or pandas to arrow in python, fine, but I'm just hitting a wall of compile errors and it's really annoying for such a simple thing to be difficult.

bionicles commented 4 months ago

closing because i'm dumb, https://docs.rs/pyo3-polars/latest/pyo3_polars/