
    A>i	                     |    S SK r S SKrS SKJr  \ R                  " S5      r\ R                  S 5       r	 " S S5      r
g)    Ntablesc                    [         R                  SS9[         R                  SSS9[         R                  SS9S.nSnUSSS.US-   S	SS.US-   S
SS.US-   SSS./nSn[         R	                  U SS9 nUR                  SXAS9nU HD  nUR                  5        H  u  pXR                  U'   M     UR                  R                  5         MF     SSS5        X[        R                  " U5      4$ ! , (       d  f       N&= f)z,
Use PyTables to create a simple HDF5 file.
r   )pos         )c0c1c2g   $CAaaaaabbbbbccccci    dddddl    pandas_test_timeseriesw)mode/)namedescriptionN)r   	Time64Col	StringColInt64Col	open_filecreate_tableitemsrowappendpd	DataFrame)
temp_h5_pathtable_schemat0testsamplesobjnameftsamplekeyvalues
             c/var/www/html/land-tabula/venv/lib/python3.13/site-packages/pandas/tests/io/pytables/test_compat.pypytables_hdf5_filer,   	   s    1%qa(oo!o$L 
B *AvWA.AvWE2AvWM:	K 'G			,S		1QNN3WNG!F$lln
"c
 -EELLN " 
2 ",,{";;; 
2	1s   2AC--
C;c                   0    \ rS rSrSrS rS rS rS rSr	g)	TestReadPyTablesHDF5)   z
A group of tests which covers reading HDF5 files written by plain PyTables
(not written by pandas).

Was introduced for regression-testing issue 11188.
c                 d    Uu  p#n[         R                  " X#S9nUn[        R                  " XVSS9  g )N)r)   Tcheck_index_type)r   read_hdftmassert_frame_equalselfr,   pathr%   dfresultexpecteds          r+   test_read_complete'TestReadPyTablesHDF5.test_read_complete1   s/    .rT/
fF    c                     Uu  p#n[         R                  " X#SS9nUSS  R                  SS9n[        R                  " XVSS9  g )Nr   )r)   startTdropr1   r   r3   reset_indexr4   r5   r6   s          r+   test_read_with_start)TestReadPyTablesHDF5.test_read_with_start7   sE    .rTa8ab6%%4%0
fFr>   c                     Uu  p#n[         R                  " X#SS9nUS S R                  SS9n[        R                  " XVSS9  g )Nr   )r)   stopTrA   r1   rC   r6   s          r+   test_read_with_stop(TestReadPyTablesHDF5.test_read_with_stop>   sE    .rTQ7bq6%%4%0
fFr>   c                     Uu  p#n[         R                  " X#SSS9nUSS R                  SS9n[        R                  " XVSS9  g )Nr   r   )r)   r@   rH   TrA   r1   rC   r6   s          r+   test_read_with_startstop-TestReadPyTablesHDF5.test_read_with_startstopE   sG    .rTaa@a7&&D&1
fFr>    N)
__name__
__module____qualname____firstlineno____doc__r<   rE   rI   rL   __static_attributes__rN   r>   r+   r.   r.   )   s    GGGGr>   r.   )pytestpandasr   pandas._testing_testingr4   importorskipr   fixturer,   r.   rN   r>   r+   <module>r[      sB      			X	& < <>!G !Gr>   