Files
python-bootcamp/View_h5_file.py
T

12 lines
225 B
Python
Raw Normal View History

2023-05-16 16:44:15 -04:00
import h5py
import pandas as pd
f = h5py.File('product1.h5','r')
list(f.keys())
for key in f.keys():
print(f[key])
# print(f[key].shape)
# print(f[key].value)
df = pd.read_hdf('product1.h5', key='df8')
print(df)