pyarrow.SerializedPyObject¶
- 
class 
pyarrow.SerializedPyObject¶ Bases:
pyarrow.lib._WeakrefableArrow-serialized representation of Python object.
- 
__init__()¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__()Initialize self.
deserialize(self, …)Convert back to Python object.
from_components(components)Reconstruct SerializedPyObject from output of SerializedPyObject.to_components.
to_buffer(self[, nthreads])Write serialized data as Buffer.
to_components(self[, memory_pool])Return the decomposed dict representation of the serialized object containing a collection of Buffer objects which maximize opportunities for zero-copy.
write_to(self, sink)Write serialized object to a sink.
Attributes
- 
base¶ 
- 
deserialize(self, SerializationContext context=None)¶ Convert back to Python object.
- 
static 
from_components(components)¶ Reconstruct SerializedPyObject from output of SerializedPyObject.to_components.
- 
to_buffer(self, nthreads=1)¶ Write serialized data as Buffer.
- 
to_components(self, memory_pool=None)¶ Return the decomposed dict representation of the serialized object containing a collection of Buffer objects which maximize opportunities for zero-copy.
- Parameters
 memory_pool (MemoryPool default None) – Pool to use for necessary allocations.
Returns –
- 
total_bytes¶ 
- 
write_to(self, sink)¶ Write serialized object to a sink.
-