首页 > 解决方案 > 读取具有不同数据类型和列顺序的多个镶木地板文件

问题描述

ArrowTypeError                            Traceback (most recent call last)
<ipython-input-70-ec0fb7840303> in <module>
----> 1 dataset=data.to_table()

~\Anaconda3\lib\site-packages\pyarrow\_dataset.pyx in pyarrow._dataset.Dataset.to_table()

~\Anaconda3\lib\site-packages\pyarrow\_dataset.pyx in pyarrow._dataset.Scanner.to_table()

~\Anaconda3\lib\site-packages\pyarrow\error.pxi in pyarrow.lib.pyarrow_internal_check_status()

~\Anaconda3\lib\site-packages\pyarrow\error.pxi in pyarrow.lib.check_status()

ArrowTypeError: fields had matching names but differing types. From: expandedLinks: list<item: struct<expanded: string, original: string>> To: expandedLinks: list<item: struct<original: string, expanded: string>>

标签: pythonpyarrow

解决方案


推荐阅读