Serialize object to input file path using msgpack format.

Deprecated since version 0.25.0.

to_msgpack is deprecated and will be removed in a future version. It is recommended to use pyarrow for on-the-wire transmission of pandas objects.

param path
string File path, buffer-like, or None

if None, return generated bytes

param append
bool whether to append to an existing msgpack

(default is False)

param compress
type of compressor (zlib or blosc), default to None (no



None or bytes If path_or_buf is None, returns the resulting msgpack format as a byte string. Otherwise returns None.


This feature is currently unsupported by Intel Scalable Dataframe Compiler