pyarrow.deserialize#

pyarrow.deserialize(obj, SerializationContext context=None)#

DEPRECATED: Deserialize Python object from Buffer or other Python object supporting the buffer protocol.

Deprecated since version 2.0: The custom serialization functionality is deprecated in pyarrow 2.0, and will be removed in a future version. Use the standard library pickle or the IPC functionality of pyarrow (see Streaming, Serialization, and IPC for more).

This only can interact with data produced by pyarrow.serialize or pyarrow.serialize_to.

Parameters
objpyarrow.Buffer or Python object supporting buffer protocol
contextSerializationContext

Custom serialization and deserialization context.

Returns
deserializedobject