读取具有不同数据类型和列顺序的多个拼花地板文件

2024-06-12 06:38:53 发布

您现在位置:Python中文网/ 问答频道 /正文

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>>

Tags: toinstringlibpackageschecktablesite