用pandas读取获得的h5文件,简单操作之后,将dataframe重新存为h5文件(警告),再用pandas读取文件(报错),出现以下错误:
F:\Anaconda3\lib\site-packages\pandas\io\pytables.py:270: PerformanceWarning:
your performance may suffer as PyTables will pickle object types that it cannot
map directly to c-types [inferred_type->integer,key->axis0] [items->None]
f(store)
F:\Anaconda3\lib\site-packages\pandas\io\pytables.py:270: PerformanceWarning:
your performance may suffer as PyTables will pickle object types that it cannot
map directly to c-types [inferred_type->integer,key->block0_items] [items->None]
f(store)
读取时异常
F:\Anaconda3\lib\site-packages\pandas\io\pytables.py in read_hdf(path_or_buf, key, mode, errors, where, start, stop, columns, iterator, chunksize, **kwargs)
421 iterator=iterator,
422 chunksize=chunksize,
--> 423 auto_close=auto_close,
424 )
425 except (ValueError, TypeEr