It looks like bcolz.ctable has a tohdf5 method that you could use; however you will need to install hdf5, pytables, etc. Otherwise, you can use pickle , which is the usual way to save a shared Python object to disk.
By the way, if you are simply interested in compressing your data, you might want to take a look at a lower-tech version, for example gzip ; compression will be just as good, if not better, than the column data format, which is more associated with a quick request for your data.
source share