存储 我使用下面的代码与python/pandas存储在HDFStore有很多NaN值的大数据集后: with get_store(work_path+'/stores/store.h5') as store:
for chunk in reader:
for column in column_list:
store.append('%s' % colum
是否有首选方法检查pandas HDFStore中的PyTables节点是否是表格?这有效,但NoSuchNodeError似乎不是API的一部分,所以也许我不应该依赖它。 In [34]: from tables.table import NoSuchNodeError
In [35]: def is_tabular(store, key):
try:
store.ge