Python 3.x to_()获得了意外的关键字参数
我正在尝试将拼花地板表转换为熊猫数据帧,并根据文档()避免内存加倍,我使用了以下代码Python 3.x to_()获得了意外的关键字参数,python-3.x,pyarrow,Python 3.x,Pyarrow,我正在尝试将拼花地板表转换为熊猫数据帧,并根据文档()避免内存加倍,我使用了以下代码 df = table.to_pandas(split_blocks=True, self_destruct=True) 但我得到以下错误 TypeError: to_pandas() got an unexpected keyword argument 'split_blocks' 现在我已经安装了pyarrow版本0.15.1。当我运行代码Conda update pyarrow时,我收到消息,所需的软件
df = table.to_pandas(split_blocks=True, self_destruct=True)
但我得到以下错误
TypeError: to_pandas() got an unexpected keyword argument 'split_blocks'
现在我已经安装了pyarrow版本0.15.1。当我运行代码Conda update pyarrow
时,我收到消息,所需的软件包已安装
我可以知道如何纠正这个错误吗。提前感谢。0.15.1版支持的选项比最新版本少。您可以看到这些选项。如果您担心内存问题,可以尝试传递
zero\u copy=True
我不是conda方面的专家,但您是否尝试过conda安装pyarrow=1.0.1