0
null値をhdf5ファイルに保存したい。hdf5テーブルにnull値を格納する方法は?
h5file = tables.open_file("demo.h5", mode="w", title="demo")
group = h5file.create_group('/', 'depth','Dept Data information')
table = h5file.create_table(group, 'readout', depthdata , "depth data")
row_data = table.row
for i in range(len(record['local_timestamp'])):
if record['bbno1'][i] is '':
row_data['bbno1'] = NaN
else:
row_data['bbno1'] = record['bbno1'][i]
私はこれらのコードを使用しましたが、動作しません。私はNaNとNULLを使用しましたが、それは動作しません。