跑步時(shí)pd.read_hdf('myfile.h5')我收到以下回溯錯(cuò)誤:[[...一些更長的追溯]]~/.local/lib/python3.6/site-packages/pandas/io/pytables.py in read_array(self, key, start, stop) 2487 2488 if isinstance(node, tables.VLArray): -> 2489 ret = node[0][start:stop] 2490 else: 2491 dtype = getattr(attrs, 'value_type', None)getitem 中的 ~/.local/lib/python3.6/site-packages/tables/ vlarray.py (self, key)~/.local/lib/python3.6/site-packages/tables/vlarray.py in read(self, start, stop, step)表/hdf5extension.pyx 在tables.hdf5extension.VLArray._read_array()ValueError: 無法將此數(shù)組的 WRITEABLE 標(biāo)志設(shè)置為 True不知道發(fā)生了什么。我試過重新安裝tables,pandas基本上所有的東西,但不想讀它。
pd.read_hdf 拋出“無法將此數(shù)組的 WRITABLE 標(biāo)志設(shè)置為 True”
函數(shù)式編程
2021-10-12 10:49:25