pub trait FromPyArrow: Sized {
// Required method
fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> Result<Self, PyErr>;
}
Available on crate feature
pyarrow
only.Expand description
Trait for converting Python objects to arrow-rs types.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<T> FromPyArrow for Vec<T>where
T: FromPyArrow,
impl<T> FromPyArrow for Vec<T>where
T: FromPyArrow,
Implementors§
impl FromPyArrow for ScalarValue
impl FromPyArrow for DataType
impl FromPyArrow for ArrowArrayStreamReader
Supports conversion from pyarrow.RecordBatchReader
to ArrowArrayStreamReader.