From 897dcdf717a0fb02bc49d8c358bed7d999a97479 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Wed, 9 Jun 2021 16:56:58 +0200 Subject: [PATCH] DOC: update the msgpack IO section to not refer to pyarrow.serialize --- doc/source/user_guide/io.rst | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/source/user_guide/io.rst b/doc/source/user_guide/io.rst index 5278b8f2b22d1..dbefd1f20d2e3 100644 --- a/doc/source/user_guide/io.rst +++ b/doc/source/user_guide/io.rst @@ -4009,21 +4009,13 @@ Passing options to the compression protocol in order to speed up compression: msgpack ------- -pandas support for ``msgpack`` has been removed in version 1.0.0. It is recommended to use pyarrow for on-the-wire transmission of pandas objects. +pandas support for ``msgpack`` has been removed in version 1.0.0. It is +recommended to use :ref:`pickle `__. -.. code-block:: python - - import pandas as pd - import pyarrow as pa - - df = pd.DataFrame({"A": [1, 2, 3]}) - - context = pa.default_serialization_context() - df_bytestring = context.serialize(df).to_buffer().to_pybytes() - -For documentation on pyarrow, see `here `__. .. _io.hdf5: