Cov txheej txheem:

PyTables yog dab tsi?
PyTables yog dab tsi?

Video: PyTables yog dab tsi?

Video: PyTables yog dab tsi?
Video: 🇷🇺 Hành trình đi tìm lăng mộ của các Sa Hoàng - Saint Petersburg 2024, Kaum ib hlis
Anonim

PyTables yog ib pob rau kev tswj hierarchical datasets thiab tsim kom muaj txiaj ntsig thiab yooj yim tiv nrog cov ntaub ntawv loj heev. PyTables yog ua rau saum lub tsev qiv ntawv HDF5, siv cov lus Python thiab pob NumPy.

Ua raws li qhov no saib, Kuv yuav nruab PyTables li cas?

Txoj kev yooj yim tshaj plaws rau nruab PyTables siv pip yog cov hauv qab no:

  1. $ pip nruab rooj.
  2. $ pip install --user --upgrade tables.
  3. $ pip nruab --install-option='--hdf5=/kev cai/path/to/hdf5' rooj.
  4. $ env HDF5_DIR = / kev cai / txoj kev / mus / hdf5 pip nruab rooj.
  5. $ pip nruab tables-3.0.0.tar.gz.

Qhov thib ob, puas yog hdf5 database? 3 Teb. HDF 5 ua hauj lwm zoo rau concurrent nyeem nkaus xwb. Rau concurrent sau nkag koj yuav tsum tau siv parallel HDF 5 los yog muaj txheej txheem neeg ua haujlwm uas saib xyuas kev sau ntawv mus rau ib qho HDF 5 khw. Koj tuaj yeem khaws cov ntaub ntawv meta hauv SQL / NoSQL database thiab khaws cov ntaub ntawv nyoos (sijhawm series cov ntaub ntawv) hauv ib lossis ntau yam HDF 5 cov ntaub ntawv

Ib yam li ntawd, tib neeg 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.

Kuv yuav paub li cas yog tias hdf5 raug teeb tsa?

Nco ntsoov tias koj muaj zlib ntsia . Qhov no yuav tsum tau rau compression (deflate) HDF 5 lim. Rau kuaj yog tias nws yog ntsia , saib yog nws muaj nyob hauv koj lub tsev qiv ntawv (piv txwv li hauv /usr/lib lossis /usr/lib64). Ib txoj kev yooj yim rau kuaj qhov no yog los ntawm kev khiav cov lus txib ls /usr/lib | grep "libz".

Pom zoo: