pyarrow.deserialize_from

pyarrow.deserialize_from(source, base, SerializationContext context=None)

DEPRECATED: Deserialize a Python sequence from a file.

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
sourceNativeFile

File to read the sequence from.

baseobject

This object will be the base object of all the numpy arrays contained in the sequence.

contextSerializationContext

Custom serialization and deserialization context.

Returns
object

Python object for the deserialized sequence.