I have a h5py data that looks like this.
import h5py
f = h5py.File('X.h5', 'w')
f['X'] = np.array([[0, 0], [0, 1], [1, 0], [1, 1]])
>>> f['X'][...]
array([[0, 0],
[0, 1],
[1, 0],
[1, 1]])
I want transpose of above data. It might be easy for small data, but what if I have very huge data?