File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -4009,21 +4009,13 @@ Passing options to the compression protocol in order to speed up compression:
40094009msgpack
40104010-------
40114011
4012- 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.
4012+ pandas support for ``msgpack `` has been removed in version 1.0.0. It is
4013+ recommended to use :ref: `pickle <io.pickle ` instead.
40134014
4014- Example pyarrow usage:
4015+ Alternatively, you can also the Arrow IPC serialization format for on-the-wire
4016+ transmission of pandas objects. For documentation on pyarrow, see
4017+ `here <https://arrow.apache.org/docs/python/ipc.html >`__.
40154018
4016- .. code-block :: python
4017-
4018- import pandas as pd
4019- import pyarrow as pa
4020-
4021- df = pd.DataFrame({" A" : [1 , 2 , 3 ]})
4022-
4023- context = pa.default_serialization_context()
4024- df_bytestring = context.serialize(df).to_buffer().to_pybytes()
4025-
4026- For documentation on pyarrow, see `here <https://arrow.apache.org/docs/python/index.html >`__.
40274019
40284020.. _io.hdf5 :
40294021
You can’t perform that action at this time.
0 commit comments