+
    yȇi.#                        ^ RI t^ RIt^ RIt^ RIHt ^ RIH	t	 ^ RI
Ht ^ RIHtHtHt ]P                   ! ]P"                  ]P$                  .R7      R 4       tR tR tR	 tR
 tR t]P2                  P5                  R^R.^]P6                  .3R.]P6                  .3R]P6                  .]P6                  ]P6                  .3]P6                  ]P6                  .]P6                  ]P6                  .3.4      R 4       t]P2                  P5                  RRR.R^R]P:                  ! R^R7      ]P"                  ! R.4      ^^.^^..]P6                  R^/..4      R 4       tR tR t R t!R t"]P2                  P5                  RRR.^ ^.]! 4       ]! 4       3RR.^ ^.R]! 4       3RR]P6                  .^ ^]P6                  .]! 4       ]! 4       3.4      R 4       t#]P2                  P5                  R]P"                  ! ^.R R!7      R]3]P"                  ! ^]P6                  .4      R]3]P"                  ! ^]P6                  .4      R"]3.4      R# 4       t$R$ t%R# )%    N)
is_integer)IntegerArray)	Int8Dtype
Int32Dtype
Int64Dtype)paramsc                    V P                   # )zbFixture returning parametrized IntegerArray from given sequence.

Used to test dtype conversions.
)param)requests   &}/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/arrays/integer/test_construction.pyconstructorr      s     ==    c                      \         P                  ! ^R.\        4       R7      p V ^,          \         P                  J g   Q hR# )   Ndtype)pdarrayr   NA)as    r   test_uses_pandas_nar      s,    
!T*,/AQ4255==r   c                 *   V P                   p\        P                  ! V 4      pV P                  \        P
                  R R7      pV'       d9   \        P                  ! V\        V4      R7      p\        P                  ! WS4       MPRp\        P                  ! \        VR7      ;_uu_ 4        \        P                  ! V\        V4      R7       RRR4       \        P                  ! V 4      p\        P                  ! \        P                  ! V 4      P                  4       \        V4      R7      p\        P                  ! WS4       \        P                  ! V 4      P                  4       P                  RR7      p\        P                  ! V P                  4       4      P!                  \        P                   ! VP"                  4      4      p\        P                  ! V\        V4      R7      p\        P                  ! WS4       R#   + '       g   i     EL>; i)float)na_valuer   r   &Cannot cast NaN value to Integer dtypematchNT)drop)r   r   Seriesto_numpynpnanstrtmassert_series_equalpytestraises
ValueErrorr   tolistdropnareset_indexastypetype)datausing_nan_is_nar   expectedarrresultmsgdroppeds   &&      r   test_from_dtype_from_floatr5      sD   JJE yyH
--w-
7C3c%j1
v06]]:S11IIcU, 2 yyHYYrxx~,,.c%jAF6, yy%%'333>Hhht{{}%,,RXXejj-ABGYYwc%j1F6, 211s   *"HH	c                 $   \         P                  ! R V /4      pVR ,          P                  R4      p\         P                  ! \        P
                  ! \         P                  ^.\        R7      R R7      p\        P                  ! W#4       VR ,          P                  R4      P                  p\        P
                  ! \         P                  ^.\        R7      p\        P                  ! W#4       \        W#RR7       F  w  rE\         P                  ! V4      '       d!   \         P                  ! V4      '       g   Q hKA  \        V4      '       d   WE8X  g   Q h\        V4      '       g   Q hKo  WE8X  g   Q h\        V4      \        V4      8X  d   K  Q h	  R# )Aobjectr   )nameT)strictN)r   	DataFramer,   r   r!   r   r   r8   r$   r%   valuesassert_numpy_array_equalzipisnullr   r-   )data_missingdfr2   r0   res   &     r   test_conversionsrD   8   s	   	sL)	*BW^^H%Fyy255!*F;#FH6,
 W^^H%,,Fxx
&1H1FT299Q<<99Q<<<]]6M6a== =6M67d1g%%% 3r   c                     \         P                  ! . R	ORR7      p \         P                  ! . R
ORR7      p\        W4      p\        P                  ! ^^^\        P                  .RR7      p\
        P                  ! W#4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        V P                  4       V4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        WP                  4       4       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        V P                  \        4      V4       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        V 4       RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     Lr; i  + '       g   i     R# ; i)r   int64r   boolInt64z@.* should be .* numpy array. Use the 'pd.array' function insteadr   Nz;__init__\(\) missing 1 required positional argument: 'mask'r            FFFT)r!   r   r   r   r   r$   assert_extension_array_equalr&   r'   	TypeErrorr)   r,   r   )r<   maskr2   r0   r3   s        r   test_integer_array_constructorrQ   Q   s!   XXl'2F88/v>D&'FxxAq"%%(8H##F5
MC	y	,	,V]]_d+ 
- 
y	,	,V[[]+ 
- 
y	,	,V]]5)40 
-
HC	y	,	,V 
-	, 
-	, 
-	, 
-	, 
-	,	,s0   &F-F*3 F=GF'	*F:	=G	G!	c                  .   \         P                  ! . RORR7      p \         P                  ! . RORR7      p\        W4      pVP                  V J g   Q hVP                  VJ g   Q h\        WRR7      pVP                  V Jg   Q hVP                  VJg   Q hR# )	r   rF   r   TrG   )copyNrI   rM   )r!   r   r   _data_mask)r<   rP   r2   s      r   #test_integer_array_constructor_copyrV   g   s    XXl'2F88/v>D&'F<<6!!!<<4&T2F<<v%%%<<t###r   za, bc                 \   V'       dI   \         P                  ! V R R7      p\         P                  ! VR R7      p\        P                  ! W44       R# Rp\        P
                  ! \        VR7      ;_uu_ 4        \         P                  ! VR R7       RRR4       R#   + '       g   i     R# ; i)rH   r   r   r   N)r   r   r$   rN   r&   r'   r(   )r   br/   r2   r0   r3   s   &&&   r   !test_to_integer_array_none_is_nanrY   t   sh     !7+88AW-
''96]]:S11HHQg& 2111s   7BB+	r<   foobar      ?20130101)periodsr   c                    R P                  . RO4      p\        P                  ! \        \        3VR7      ;_uu_ 4        \
        P                  ! V RR7       RRR4       \        P                  ! \        \        3VR7      ;_uu_ 4        \        P                  ! V 4       RRR4       R#   + '       g   i     L[; i  + '       g   i     R# ; i)|r   rH   r   N)z#cannot convert float NaN to integerz#cannot be converted to IntegerDtypez)invalid literal for int\(\) with base 10:zvalues must be a 1D list-likezCannot pass scalarz!int\(\) argument must be a string)	joinr&   r'   r(   rO   r   r   r   _from_sequence)r<   r3   s   & r   test_to_integer_array_errorrc      s     ((	
	C 

I.c	:	:
w' 
; 

I.c	:	:##F+ 
;	: 
;	: 
;	:	:s   B*	B=*B:	=C	c                 <   V ! \         P                  ! ^^.RR7      4      pVP                  \        4       8X  g   Q hV ! \         P                  ! ^^.RR7      4      pVP                  \	        4       8X  g   Q hV ! ^^.4      pVP                  \        4       8X  g   Q hR# )r   int8r   int32N)r!   r   r   r   r   r   r   r2   s   & r   $test_to_integer_array_inferred_dtyperh      s    1a&78F<<9;&&&1a&89F<<:<''' !Q F<<:<'''r   c                     V ! ^^.RR7      pVP                   \        4       8X  g   Q hV ! \        P                  ! ^^.RR7      RR7      pVP                   \	        4       8X  g   Q hR# )r   Int8r   re   Int32N)r   r   r!   r   r   rg   s   & r   #test_to_integer_array_dtype_keywordrl      sW    !Qv.F<<9;&&& 1a&7wGF<<:<'''r   c                     \         P                  ! R R.RR7      p \        P                  ! ^^.RR7      p\        P
                  ! W4       \        P                  ! \        RR7      ;_uu_ 4        \         P                  ! RR.RR7       RRR4       \         P                  ! \        P                  ! R R.RR7      RR7      p V P                  \        4       8X  g   Q hR#   + '       g   i     L]; i)	r\   g       @rH   r   z!cannot safely cast non-equivalentr   g      ?Nfloat32)r   rb   r   r   r$   rN   r&   r'   rO   r!   r   r   r2   r0   s     r   test_to_integer_array_floatrp      s    ((#s7CFxxAg.H##F5	y(K	L	L##S#Jg> 
M ((
#s9-WF <<:<''' 
M	Ls   /CC/	c                  "   \         P                  ! . RORR7      p \        P                  ! ^^\        P                  .RR7      p\
        P                  ! W4       \        P                  ! \        RR7      ;_uu_ 4        \         P                  ! . R	ORR7       RRR4       \        P                  ! \        RR7      ;_uu_ 4        \         P                  ! RR.RR7       RRR4       R#   + '       g   i     LY; i  + '       g   i     R# ; i)
1NrH   r   z,invalid literal for int\(\) with base 10: .*r   z1.5z2.0)rr   2N)rr   rs    )
r   rb   r   r   r   r$   rN   r&   r'   r(   ro   s     r   test_to_integer_array_strru      s    (()9IFxxAruuW5H##F5	I
 
 	##N'B

 
I
 
 	##UEN'B
 

 


 
 
s   >C*C=*C:	=D	z5bool_values, int_values, target_dtype, expected_dtypeFTrH   c                 8   V'       g   \         P                  ! VR,          4      '       d   Rp\        P                  ! \        VR7      ;_uu_ 4        V ! WR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! W#R7       RRR4       R# V ! WR7      pVP                  V8X  g   Q h\
        P                  ! W#R7      p\        P                  ! Wx4       R#   + '       g   i     L; i  + '       g   i     R# ; ir   r   r   r   N)
r!   isnanr&   r'   r(   r   r   r   r$   rN   )	r   bool_values
int_valuestarget_dtypeexpected_dtyper/   r3   r2   r0   s	   &&&&&&   r   test_to_integer_array_boolr~      s     rxxB886]]:S118 2]]:S11HHZ4 29F<<>)))xx
7H##F5 2111s   
C5D5D	D	zvalues, to_dtype, result_dtyperF   r   re   c                    V'       g   \         P                  ! V R,          4      '       d   Rp\        P                  ! \        VR7      ;_uu_ 4        \
        P                  ! WR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        P                  ! W! 4       R7       RRR4       R# \
        P                  ! WR7      pVP                  V! 4       8X  g   Q h\        P                  ! W! 4       R7      p\        P                  ! WV4       R#   + '       g   i     L; i  + '       g   i     R# ; irw   )r!   ry   r&   r'   r(   r   rb   r   r   r   r$   rN   )r<   to_dtyperesult_dtyper/   r3   r2   r0   s   &&&&   r   test_to_integer_arrayr      s     rxxr
336]]:S11''? 2]]:S11HHV<>2 2((@F<<<>)))xxln5H##F5 2111s   D D3 D0	3E	c                      \         P                  ! \        P                  ! R R.4      RR7      p \         P                  ! \        P                  ! R R.\        R7      RR7      p\        P
                  ! W4       R# )TFrH   r   N)r   r   r!   r8   r$   rN   )r0   r2   s     r   test_integer_array_from_booleanr     sL    xx$/w?HXXbhhe}F;7KF##F5r   )&numpyr!   r&   pandasr   pandas._testing_testingr$   pandas.api.typesr   pandas.core.arraysr   pandas.core.arrays.integerr   r   r   fixturer   rb   r   r   r5   rD   rQ   rV   markparametrizer"   rY   
date_rangerc   rh   rl   rp   ru   r~   r   r    r   r   <module>r      s|       ' +  ,"="=>? @
-6&2,
$ 

TQK 
"&&
"&&"&&)*
&&"&&	BFFBFF+,	'' 		
j!,
%
Q!Q	#q	,,&	(((C  ;
A
jl;
A6
rvv	Arvv
jlK66" $	1#W	%tZ8	1bff+	j1	1bff+		266 6r   