如何在 Rust 和 Python 之间交换 Polars-DataFrame

Hak*_*ase 5 python numpy rust pyo3 python-polars

我想编写一个Python extensionusing RustwithCtypesPyo3以获得比本机 Python 更好的性能。但是如何在 Rust 和 Python 之间交换数据Polars DataFrame或类型等数据呢?ndarray