cfpyo3_bindings/df.rs
1//! A DataFrame binding from [`cfpyo3_core::df::DataFrame`] to Python using [`pyo3`].
2
3use cfpyo3_core::df::{ColumnsDtype, IndexDtype};
4use numpy::{PyArray1, PyArray2};
5use pyo3::prelude::*;
6
7pub mod io;
8pub mod meta;
9pub mod ops;
10
11#[pyclass(frozen)]
12pub struct DataFrameF64 {
13 pub index: Py<PyArray1<IndexDtype>>,
14 pub columns: Py<PyArray1<ColumnsDtype>>,
15 pub values: Py<PyArray2<f64>>,
16}