How to store null value in hdf5 table?
I want to store null value in hdf5 file. 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] I used these code but its not work. I used NaN and NULL but its not work.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.