简体   繁体   中英

What is the easiest way to load hdf5 chunks to a single variable in python?

Now I have a bunch of hdf5 chunks, their structures are all the same. And I would load them as a whole in python, is there any easiest way?

(For now, I'd have to use for loop to load them file by file and then concatenate together, but I believe this seems dumb and there should be something easier to use).

I found the solution:

we could use the .copy method in h5py .

Answered by: How to Combine Two HDF5 Datasets without intermediate buffer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM