存儲 我使用下面的代碼與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
TypeError: Cannot serialize the column [date] because its data contents are [empty] object dtype. 你好!目前已經有兩個包含每個節點的大型HDFStore,兩個節點都不適合內存。節點不包含NaN值。現在我想用this合併這兩個節點。首先對一個小商店進行了測試,所有的數據都可以放在一個大塊裏面,而且工作正
是否有首選方法檢查pandas HDFStore中的PyTables節點是否是表格?這有效,但NoSuchNodeError似乎不是API的一部分,所以也許我不應該依賴它。 In [34]: from tables.table import NoSuchNodeError
In [35]: def is_tabular(store, key):
try:
store.ge