- 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
pickleor the IPC functionality of pyarrow (see Streaming, Serialization, and IPC for more).
Python object for the sequence that is to be serialized.
File the sequence will be written to.
Custom serialization and deserialization context, uses a default context with some standard type handlers if not specified.