pyarrow.serialize_to

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

EXPERIMENTAL: Serialize a Python sequence to a file.

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