How to sort a HDF5 file in Python

693 Views Asked by At

I am storing a large text file (10 GBs, N rows and 4 columns) in an HDF5 file using h5py package. Primarily because I do not want to use my RAM.

I would like to sort the items in the file based on second column. Any suggestions on how to do that?

I also heard that it can be done in chunks, any help on that please?

Thanks!

0

There are 0 best solutions below