pyarrow.serialize_to

pyarrow.serialize_to(value, sink, SerializationContext context=None)

DEPRECATED: Serialize a Python sequence to 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).

Parameters
  • value (object) – Python object for the sequence that is to be serialized.

  • sink (NativeFile or file-like) – File the sequence will be written to.

  • context (SerializationContext) – Custom serialization and deserialization context, uses a default context with some standard type handlers if not specified.