SyntaxFix
Write A Post
Hire A Developer
Questions
Use below code to data read and convert into numpy array
import h5py f1 = h5py.File('data_1.h5', 'r') list(f1.keys()) X1 = f1['x'] y1=f1['y'] df1= np.array(X1.value) dfy1= np.array(y1.value) print (df1.shape) print (dfy1.shape)