PyTables 警告“在注册表中找到关闭的节点”是什么意思?

PGl*_*ivi 6 python warnings hdf5 pytables pandas

当使用 pandas.to_hdf 函数将数据保存到 HDF5 文件时,我收到以下警告:

C:\{my path to conda environment}\lib\site-packages\tables\file.py:426: 
UserWarning: a closed node found in the registry: ``/{my object key}/meta/{my column name}/meta/_i_table``
  warnings.warn("a closed node found in the registry: "
Run Code Online (Sandbox Code Playgroud)

我无法通过谷歌搜索这个警告可能意味着什么,并且查看相关的 PyTables 文档也没有帮助。

有人有想法吗?

细节:

  • Python 3.8.2、PyTables 3.6.1、pandas 1.0.3
  • 保存的数据看起来没问题。
  • 我按如下方式调用 pandas.to_hdf 函数:to_hdf(filename, key, mode = mode, complib='blosc', format = 'table', append = True),其中模式为“w”或“a”(在两种情况下都会引发警告)。

Kos*_*kis 0

尽管有其价值,我还是通过 使用 python 3.9 的 +gpl 版本从https://www.lfd.uci.edu/~gohlke/pythonlibs/#pytables安装表 3.6.1 来克服了这个警告。

尽管如此,我不知道这个选择的细节,也无法证明它为什么有效。