PaddlePaddle / PARL

A high-performance distributed training framework for Reinforcement Learning
https://parl.readthedocs.io/
Apache License 2.0
3.22k stars 817 forks source link

Fix pyarrow deprecated warning #1034

Open DrRyanHuang opened 1 year ago

DrRyanHuang commented 1 year ago

Hi, thx for your good work!!

When I run xparl, it raise some pyarrow deprecated warning,

FutureWarning: 'pyarrow.default_serialization_context' is deprecated as of 2.0.0 and will be removed in a future version. Use pickle or the pyarrow IPC functionality instead.
  context = pyarrow.default_serialization_context()

As instruction of https://github.com/pandas-dev/pandas/issues/39956 and https://github.com/apache/arrow/issues/11239 , I made some attempts.

And, Happy Spring Festival!