df.to_hdf() blocks some supported pytables compression types ‘blosc:lz4’, ‘blosc:lz4hc’, ‘blosc:snappy’, ‘blosc:zlib’ and ‘blosc:zstd’ · Issue #14478 · pandas-dev/pandas (original) (raw)

df.to_hdf() blocks access to the following compressors offered in pytables 3.3.0: ‘blosc:lz4’, ‘blosc:lz4hc’, ‘blosc:snappy’, ‘blosc:zlib’ and ‘blosc:zstd’.

I would like to try blosc:lz4 compression for some of the bigger data I have to compare size and speed to LZO.

df.to_hdf(path, 'df', complib='blosc:lz4') D:\Python27\lib\site-packages\pandas\io\pytables.pyc in init(self, path, mode, complevel, complib, fletcher32, **kwargs) 434 435 if complib not in (None, 'blosc', 'bzip2', 'lzo', 'zlib'): --> 436 raise ValueError("complib only supports 'blosc', 'bzip2', lzo' " 437 "or 'zlib' compression.") 438

ValueError: complib only supports 'blosc', 'bzip2', lzo' or 'zlib' compression.