pyarrow.deserialize_from

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

EXPERIMENTAL: Deserialize a Python sequence from a file.

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

Parameters
  • source (NativeFile) – File to read the sequence from.

  • base (object) – This object will be the base object of all the numpy arrays contained in the sequence.

  • context (SerializationContext) – Custom serialization and deserialization context.

Returns

object – Python object for the deserialized sequence.