Trait datafusion_python::datafusion_common::arrow::pyarrow::FromPyArrow
source · pub trait FromPyArrow: Sized {
// Required method
fn from_pyarrow_bound(value: &Bound<'_, PyAny>) -> Result<Self, PyErr>;
// Provided method
fn from_pyarrow(value: &PyAny) -> Result<Self, PyErr> { ... }
}Required Methods§
Provided Methods§
fn from_pyarrow(value: &PyAny) -> Result<Self, PyErr>
👎Deprecated since 52.0.0: Use from_pyarrow_bound
Object Safety§
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.