+
    xȇi                        ^ RI t^ RIt^ RIt^ RIHt ^ RIHt ]P                  P                  RRR.4      R 4       t]P                  P                  RRR.4      R 4       tR	 tR
 tR tR tR tR tR t]P                  P                  R]P(                  ]P*                  .4      ]P                  P                  RRR/R]! 4       /.4      R 4       4       tR tR tR tR tR tR tR# )    N)Serieszoperation, expectedc                 T    \        R R.RR7      p\        W 4      ! 4       pW18X  g   Q hR# )abstringdtypeN)r   getattr)	operationexpectedserres_operation_series   &&  s/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/series/test_reductions.pytest_reductions_series_stringsr   	   s.     #s8
,C!#13***    	as_periodTFc           
         \        \        ^^4       Uu. uF  p\        P                  ! R^V4      NK  	  up4      pV '       d   VP                  P                  R4      pMVP                  P                  R4      pVP                  4       pVP                  VP                  8X  g   Q h\        P                  ! W24       R# u upi )   i  Dz
US/CentralN)r   rangepd	Timestampdt	to_periodtz_localizemoder	   tmassert_series_equal)r   nr   ress   &   r   test_mode_extension_dtyper!      s     E!QK@Kq",,tQ*K@
ACffs#ff  .
((*C99		!!!3$ As   !C c           	      |   \        ^^^\        P                  ^^\        P                  .V R7      pVP                  RR7      p\        ^^\        P                  .V R7      p\        P
                  ! W#4       VP                  RR7      p\        ^^.V R7      p\        P
                  ! W#4       \        P                  VR&   VP                  RR7      p\        ^^.V R7      p\        P
                  ! W#4       VP                  RR7      p\        \        P                  .V R7      p\        P
                  ! W#4       R# )r   r   FdropnaTN)r   r   NAr   r   r   )any_numeric_ea_dtyper   resultr   s   &   r   test_mode_nullable_dtyper)       s    
!Q255!Q.6J
KCXXUX#Fq!RUUm+?@H6,XXTX"Fq!f$89H6,eeCGXXTX"Fq!f$89H6,XXUX#Fruug%9:H6,r   c                     \        . ROV R7      pVP                  RR7      p\        ^.V R7      p\        P                  ! W#4       \        ^^^^\        P
                  .V R7      pVP                  RR7      p\        ^.V R7      p\        P                  ! W#4       \        ^\        P
                  \        P
                  .V R7      pVP                  RR7      p\        \        P
                  .V R7      p\        P                  ! W#4       \        ^^\        P
                  \        P
                  .V R7      pVP                  RR7      p\        ^\        P
                  .V R7      p\        P                  ! W#4       R# )r   r   Fr#   N)r         r   )r   r   r   r   r   r&   )r'   r   r(   r   ser2ser3ser4s   &      r   "test_mode_nullable_dtype_edge_caser0   6   s#   
%9
:CXXUX#Fqc!56H6,1aAruu%-ABDYYeY$Fqc!56H6,1beeRUU#+?@DYYeY$Fruug%9:H6,1a&.BCDYYeY$Fq"%%j(<=H6,r   c                  B   \         P                  ! R 4       \        RR.\        R7      p \        P
                  ! RR4      ;_uu_ 4        V P                  4       pRRR4       \        RR.\        R7      p\        P                  ! XV4       R#   + '       g   i     L<; i)pyarrowr   r   r   zfuture.infer_stringTN)	pytestimportorskipr   objectr   option_contextr   r   r   )r   r(   r   s      r   test_mode_infer_stringr7   M   sm    
	"
#s6
*C			0$	7	7 
8sCj/H68, 
8	7s   	BB	c                      \        ^ \        P                  .RR7      p V ^ ,          pV P                  4       V8X  g   Q hV P	                  4       V8X  g   Q hV P                  4       V8X  g   Q hR# )r   zm8[ns]r   N)r   r   NaTmedianminmax)r   exps     r   test_reductions_td64_with_natr>   W   s[    
!RVVH
-C
a&C::<3779779r   c                     \        . R R7      pVP                  V R7      p\        V\        P                  4      '       g   Q hV\        P                  ! ^ 4      8X  g   Q hR# )ztimedelta64[ns]r   )skipnaN)r   sum
isinstancer   	Timedelta)r@   r   r(   s   &  r   test_td64_sum_emptyrD   `   sL    
,
-CWWFW#Ffbll++++R\\!_$$$r   c            	      4   \        \        P                  ! R RRRR7      4      p V ^ ;;,          \        P                  ! R4      ,          uu&   W P	                  4       ,
          P                  4       p\        P                  ! \        P                  ! W P	                  4       ,
          4      P                  \        V 4      ,          P                  4       4      p\        P                  ! VP                  R,          VP                  R,          4      '       g   Q hRp\        P                  ! \        VR7      ;_uu_ 4        W P	                  4       ,
          P                  4        R	R	R	4       V R
,          p\        P                  ! \        VR7      ;_uu_ 4        WDP	                  4       ,
          P                  4        R	R	R	4       V R,          pWUP	                  4       ,
          P                  4        R	#   + '       g   i     L; i  + '       g   i     LR; i)20130101i hns)periodsfrequnitz1s 1msi  zoverflow in timedelta operationmatchN:r   i'  N:r   i  N)r   r   
date_rangerC   r;   meanTimedeltaIndexasi8lenrA   npallclose_valuer3   raises
ValueError)r   r(   r   msgs1s2s         r   test_td64_summation_overflowr[   i   sC   
z6$O
PCFbll8$$F GGIo##%F||R..sWWY?DDs3xOTTVWH ;;v}}t+X__t-CDDDD ,C	z	-	-	wwy 
. 
WB	z	-	-	ffh 
.	VB&&(] 
.	- 
.	-s   >%G4%H4H	H	c                      \        . RO\        ^4      R7      p V P                  4       p\        V\         4      '       d   Q hR# )      ?)indexN)r]   r]   r]   )r   r   prodrB   )r   r(   s     r   test_prod_numpy16_bugr`      s3    
a
1CXXZF&&)))))r   funckwargskeepdimsoutc                    \        ^^.4      p\        \        V 4      4      pVP                  pRV RV R2p\        P
                  ! \        VR7      ;_uu_ 4        V! V3/ V B  RRR4       R#   + '       g   i     R# ; i)r   zthe 'z=' parameter is not supported in the pandas implementation of z\(\)rL   N)r   nextiter__name__r3   rV   rW   )rb   ra   r   paramnamerX   s   &&    r   )test_validate_any_all_out_keepdims_raisesrk      sv     !Q.CfE==D w "V4	) 
 
z	-	-SF 
.	-	-	-s   
A//B 	c                      \        ^^.4      p Rp\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! V ^
R7       RRR4       R#   + '       g   i     R# ; i)r   zPthe 'initial' parameter is not supported in the pandas implementation of sum\(\)rL   )initialNr   r3   rV   rW   rS   rA   r   rX   s     r   test_validate_sum_initialrp      sI    
!Q.C	% 
 
z	-	-
sB 
.	-	-	-   AA(	c                      \        ^^.4      p Rp\        P                  ! \        VR7      ;_uu_ 4        V P	                  RR7       RRR4       R#   + '       g   i     R# ; i)r   z[the 'overwrite_input' parameter is not supported in the pandas implementation of median\(\)rL   T)overwrite_inputN)r   r3   rV   rW   r:   ro   s     r   test_validate_median_initialrt      sK    
!Q.C	( 
 
z	-	- 	

4
( 
.	-	-	-s   AA"	c                      \        ^^.4      p Rp\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! V RR7       RRR4       R#   + '       g   i     R# ; i)r   zQthe 'keepdims' parameter is not supported in the pandas implementation of sum\(\)rL   T)rc   Nrn   ro   s     r   test_validate_stat_keepdimsrv      sI    
!Q.C	% 
 
z	-	-
sT" 
.	-	-	-rq   c                     \        R R.4      p V P                  4       R8X  g   Q hRp\        P                  ! \        VR7      ;_uu_ 4        V P                  4        RRR4       V P                  4       pRp\        P                  ! \        VR7      ;_uu_ 4        VP                  4        RRR4       R#   + '       g   i     La; i  + '       g   i     R# ; i)1212zHCould not convert string '12' to numeric|does not support|Cannot performrL   NzECould not convert \['12'\] to numeric|does not support|Cannot perform)r   rA   r3   rV   	TypeErrorrO   to_frame)r   rX   dfs      r   (test_mean_with_convertible_string_raisesr~      s    
#s
C779
TC	y	,	,
 
- 
B
RC	y	,	,
	 
-	, 
-	,
 
-	,	,s   B5C5C	C	c                  &   \         P                  ! R RR^{/.4      p Rp\        P                  ! \        VR7      ;_uu_ 4        V P                  4        RRR4       \        P                  ! \        VR7      ;_uu_ 4        V P                  R4       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        V R ,          P                  4        RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! V R ,          P                  R	4      P                  4       RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     L; i  + '       g   i     R# ; i)
dbJnumericzDCould not convert \['J'\] to numeric|does not support|Cannot performrL   NrO   zGCould not convert string 'J' to numeric|does not support|Cannot performzECould not convert string 'J' to numeric|ufunc 'divide'|Cannot performr   )
r   	DataFramer3   rV   r{   rO   aggrS   astypearray)r}   rX   s     r   #test_mean_dont_convert_j_to_complexr      s    	c9c23	4B
QC	y	,	,
	 
- 
y	,	,
v 
- TC	y	,	,
4 
-
QC	y	,	,
4)//0 
-	, 
-	, 
-	, 
-	, 
-	,	,s0   E?E?E,7E?E	E)	,E<	?F	c                     R p \        . RO4      p\        P                  ! \        V R7      ;_uu_ 4        VP	                  4        RRR4       Rp VP                  4       p\        P                  ! \        V R7      ;_uu_ 4        VP	                  4        RRR4       R#   + '       g   i     La; i  + '       g   i     R# ; i)zICannot convert \['1' '2' '3'\] to numeric|does not support|Cannot performrL   NzMCannot convert \[\['1' '2' '3'\]\] to numeric|does not support|Cannot perform)rx   ry   3)r   r3   rV   r{   r:   r|   )rX   r   r}   s      r   *test_median_with_convertible_string_raisesr      s    
VC

!C	y	,	,

 
- 	Y  
B	y	,	,
		 
-	, 
-	, 
-	,	,s   BB1B.	1C	)r;   r   )r<   r   )numpyrS   r3   pandasr   r   pandas._testing_testingr   markparametrizer   r!   r)   r0   r7   r>   rD   r[   r`   anyallr5   rk   rp   rt   rv   r~   r   r    r   r   <module>r      s        .|0LM+ N+ tUm4% 5%-,-.-%2* "&&"&&!12Z$68I#JK L 3 
)#1$r   