H5py hauv Python yog dab tsi?
H5py hauv Python yog dab tsi?

Video: H5py hauv Python yog dab tsi?

Video: H5py hauv Python yog dab tsi?
Video: HDF5 - h5py 2024, Kaum ib hlis
Anonim

Cov h5 pib pob yog Pytonic interface rau cov HDF 5 binary cov ntaub ntawv hom. Nws tso cai rau koj khaws cov ntaub ntawv xov tooj ntau ntau, thiab yooj yim tswj cov ntaub ntawv los ntawm NumPy. Piv txwv li, koj tuaj yeem hlais rau hauv ntau-terabyte datasets khaws cia ntawm disk, zoo li lawv yog NumPy arrays tiag.

Yog li ntawd, hdf5 siv rau dab tsi?

Hierarchical Data Format (HDF) yog ib qho qhib cov ntaub ntawv hom ntawv rau khaws cia cov ntaub ntawv xov xwm ntau heev. Nws yog feem ntau siv hauv Cov ntawv thov tshawb fawb (meteorology, astronomy, genomics thiab lwm yam) los faib thiab nkag mus rau cov ntaub ntawv loj heev yam tsis siv cov ntaub ntawv.

Qhov thib ob, kuv yuav qhib cov ntaub ntawv hdf5 li cas? Qhib a HDF 5 / H5 file hauv HDFView Hauv daim ntawv thov HDFView, xaiv Qhib ntaub ntawv thiab taug qab mus rau lub nplaub tshev uas koj khaws cia fiuTestFile. hdf5 ua ntawm koj lub computer. Qhib qhov no ntaub ntawv hauv HDFView. Yog tias koj nyem rau ntawm lub npe HDF5 cov ntaub ntawv nyob rau sab laug tes qhov rais ntawm HDFView, koj tuaj yeem saib metadata rau cov ntaub ntawv.

Ib yam li ntawd, koj tuaj yeem nug, cov ntaub ntawv hdf5 yog dab tsi?

Lub Hierarchical Data Format version 5 ( HDF 5 ), yog qhov chaw qhib ntaub ntawv hom ntawv uas txhawb cov ntaub ntawv loj, complex, heterogeneous. HDF 5 siv ib " ntaub ntawv directory" zoo li cov qauv uas tso cai rau koj los npaj cov ntaub ntawv hauv lub ntaub ntawv nyob rau hauv ntau txoj kev sib txawv, raws li koj yuav ua nrog cov ntaub ntawv ntawm koj lub computer.

Hdfstore yog dab tsi?

HDF5 yog ib hom ntawv tsim los khaws cov lej loj ntawm homogenous hom. Nws tuaj yeem ua ke tshwj xeeb thaum koj xav tau los npaj koj cov qauv ntaub ntawv hauv hierarchical zam thiab koj kuj xav tau txoj hauv kev nrawm los khaws cov ntaub ntawv.

Pom zoo: