I have the following two datasets (I have several of these tuples
):
filename_string: "something"
filename_list: [1,2,3,4,5] # this is a numpy array.
Id like to know how to write this in a compact format via h5py. The goal is to have the end user read this h5 datafile and be able to deduce the list and its corresponding filename.
I am able to efficiently write the numpy list to h5, but strings seems to be a big problem and errors out when I include this.
Any help would be great - wasted a few hours looking for a solution!