+
    xȇiP                     6   R t ^ RIHt ^ RIt^ RIt^ RIHtHt ^ RI	H
t ]P                  P                  R4      t]P                  P                  R4      t]P                  P                  R4      tR t]P                  P'                  RR	/ R
^.R^.R
^..3RR. R#OR. R$O/R
^.R^.R
^.R^.R
^..3R/ R
^.R^.R
^..3RRR.RR./R
R.RR
..3.4      R 4       tR t]P                  P'                  RRR.4      R 4       tR t]P                  P'                  RR]P0                  ]P2                  .4      R 4       t]]P                  P'                  R]P6                  ! ]P2                  4      P8                  ]P6                  ! ]P0                  4      P8                  ]P6                  ! ]P0                  4      P:                  .4      R 4       4       t]]P                  P'                  R]P6                  ! ]P2                  4      P8                  ^,           ]P6                  ! ]P0                  4      P:                  ^,
          .4      R 4       4       t]]P                  P'                  R]P6                  ! ]P2                  4      P8                  ^,           ]P6                  ! ]P0                  4      P:                  ^,
          .4      R 4       4       t ]]P                  P'                  R ]!! R%4      ]!! R&4      .]!! R&4      ]!! R%4      ..4      R! 4       4       t"R" t#R# )'zy
Tests that work on both the Python and C engines but do not have a
specific classification into the other test modules.
)StringION)	DataFrameSeriesz=ignore:Passing a BlockManager to DataFrame:DeprecationWarningpyarrow_xfailpyarrow_skipc                     R pT pVP                  \        V4      4      p\        R^.R^.R^..RR.R7      p\        P                  ! W44       R# )zA,B
1.0,1
2.0,2
3.0,3
g      ?g       @g      @ABcolumnsNread_csvr   r   tmassert_frame_equalall_parsersdataparserresultexpecteds   &    w/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/io/parser/common/test_ints.pytest_int_conversionr      sS    D
 F__Xd^,F3(S!HsAh7#sLH&+    zdata,kwargs,expectedzA,B
True,1
False,2
True,3TFzA,B
YES,1
no,2
yes,3
No,3
Yes,3true_valuesfalse_valueszA,B
TRUE,1
FALSE,2
TRUE,3zA,B
foo,bar
bar,foofoobarc                     T pVP                   ! \        V4      3/ VB p\        VR R.R7      p\        P                  ! WS4       R# )r   r	   r
   Nr   )r   r   kwargsr   r   r   s   &&&&  r   test_parse_boolr   &   s>    4 F__Xd^6v6FC:6H&+r   c                     R pT pVP                  \        V4      4      p\        R. RO/4      p\        P                  ! W44       R# )zNumbers
17007000002000191
17007000002000191
17007000002000191
17007000002000191
17007000002000192
17007000002000192
17007000002000192
17007000002000192
17007000002000192
17007000002000194NumbersN)
   ?u/r"   r"   r"      @u/r#   r#   r#   r#   l   Bu/r   r   s   &    r   &test_parse_integers_above_fp_precisionr$   F   sI    
D F__Xd^,F 	
H  &+r   sep z\s+c                    R pT pVP                   R8X  dV   VR8w  dO   Rp\        P                  ! \        VR7      ;_uu_ 4        VP	                  \        V4      RVR7       RRR4       R# VP	                  \        V4      RVR7      p\        R^.R^..4      p\        P                  ! WV4       R#   + '       g   i     R# ; i)	z65248E10 11
55555E55 22
pyarrowr&   z6the 'pyarrow' engine does not support regex separatorsmatchN)headerr%   g  jCg!E(E VL)	enginepytestraises
ValueErrorr   r   r   r   r   )r   r%   r   r   msgr   r   s   &&     r   test_integer_overflow_bugr1   g   s     (DF}}	!cSjF]]:S11OOHTN4SOA 2__Xd^Dc_BF9b/Ir?;<H&+ 21s   B11C	c                     T pR pVP                  \        V4      4      p\        R^ ^ .R^ \        P                  ./4      p\
        P                  ! W44       R# )z
A,B
0,0
0,r   r	   N)r   r   r   npnanr   r   )r   r   r   r   r   s   &    r   test_int64_min_issuesr5   w   sK    FD__Xd^,F#1vsQK89H&+r   convc                 6   R pT pVf   VP                   R8X  d2   \        P                  P                  RR7      pVP	                  V4       VP                  \        V4      4      p\        . ROR.R7      p\        P                  ! Wg4       R# RP                  . RO4      p\        p	VP                   R8X  d	   \        p	Rp\        P                  ! WR	7      ;_uu_ 4        VP                  \        V4      RV/R
7       RRR4       R#   + '       g   i     R# ; i)zID
00013007854817840016671868
00013007854817840016749251
00013007854817840016754630
00013007854817840016781876
00013007854817840017028824
00013007854817840017963235
00013007854817840018860166Nr(   zparses to float64)reasonIDr
   |zBThe 'converters' option is not supported with the 'pyarrow' enginer)   )
converters)l   |DpyA,l   rryA,l   syA,l   4rsyA,l   6{yA,l   xyA,l   (yA,)z)Python int too large to convert to C longzlong too big to convertzint too big to convert)r,   r-   markxfailapplymarkerr   r   r   r   r   joinOverflowErrorr/   r.   )
r   r6   requestr   r   r<   r   r   r0   errs
   &&&       r   test_int64_overflowrC      s    D F| ==I%;;$$,?$@D%$0 F
 	f/
 hh
 ==I%CVC]]3**OOHTNd|OD +***s   DD	valc                     T pVP                  \        \        V4      4      R R7      p\        V.4      p\        P
                  ! W44       R # Nr+   r   r   strr   r   r   r   rD   r   r   r   s   &&   r   test_int64_uint64_rangerK      s>     F__Xc#h/_=F#H&+r   c                     T pVP                  \        \        V4      4      R R7      p\        V.4      p\        P
                  ! WE4       R # rF   rH   )r   rD   rA   r   r   r   s   &&&   r   test_outside_int64_uint64_rangerM      s>     F__Xc#h/_=F#H&+r   c                     T pVP                  \        V R 24      RR7      p\        \        V4      R.4      p\        P
                  ! W44       R# )z
abcNrG   abc)r   r   r   rI   r   r   rJ   s   &&   r   *test_outside_int64_uint64_range_follow_strrP      sG    
 F__XUm4T_BF#c(E*+H&+r   exp_datac                     T pR P                  V4      p\        V4      pVP                  \        V4      RR7      p\        P
                  ! WT4       R# )
NrG   )r?   r   r   r   r   r   )r   rQ   r   r   r   r   s   &&    r   test_numeric_range_too_widerT      sE    
 F99XD"H__Xd^D_9F&+r   c                     R pT pVP                  \        V4      RR7      ^,          p\        RR.^R7      p\        P                  ! W44       R# )z1,1;0;0;0;1;1;3844;3844;3844;1;1;1;1;1;1;0;0;1;1;0;0,,,4321583677327450765
5,1;0;0;0;1;1;843;843;843;1;1;1;1;1;1;0;0;1;1;0;0,64.0,;,4321113141090630389NrG   l   "ude_ l   :a6_ )name)r   r   r   r   assert_series_equal)r   sr   r   r   s   &    r   test_integer_precisionrY      sK    	PAF__Xa[_6q9F*,?@qIH6,r   )yesYesYES)noNONol            )$__doc__ior   numpyr3   r-   pandasr   r   pandas._testing_testingr   r<   filterwarnings
pytestmarkusefixturesxfail_pyarrowskip_pyarrowr   parametrizer   r$   r1   r5   int64uint64rC   iinfomaxminrK   rM   rP   rI   rT   rY    r   r   <module>rs      s1  
    [[''C
 ''8{{&&~6
,  +AY
T1I.	
 31>CUVAY
T1IqzD!9E	
 +AY
T1I.	
 $UG^eW=E]UDM*	
!2,32,,B f., /,, $"))!<=1E >1Eh 	BHHRYY##RXXbhh%7%;%;RXXbhh=O=S=ST, , 	BHHRYY##a'"(();)?)?!)CD, , 	BHHRYY##a'"(();)?)?!)CD, , s2wE
&;c%j#b'=R%ST, U ,-r   