+
    xȇi6%              
       $   ^ RI t^ RIt^ RIt^ RIHt ]P                  P                  R. RO4      R 4       t
]P                  P                  R. RO4      R 4       tR tR t]P                  P                  R^ ^.4      R 4       tR	 tR
 tR t]P                  P                  R^^.RR^R^/^R.4      R 4       t]P                  P                  R^]P&                  3]P&                  ]P&                  3]P&                  ^3.4      R 4       t]P                  P                  RR^^]P&                  ]P&                  3^]P&                  ^]P&                  3]P&                  ]P&                  ]P&                  ]P&                  3.4      R 4       tR# )    N
align_axisc           	         \         P                  ! R . RORRR\        P                  .R. RO/. ROR7      pVP	                  4       pRVP
                  R&   R	VP
                  R&   VP                  W R
7      pV R9   d   \         P                  ! ^ ^^4      p\         P                  P                  R R.RR..4      p\         P                  ! RR\        P                  \        P                  .\        P                  \        P                  RR	..VVR7      pM\         P                  P                  \        ^ ^^4      RR..4      p\         P                  ! R R.4      p\         P                  ! R\        P                  .R\        P                  .\        P                  R.\        P                  R	..VVR7      p\        P                  ! W64       R# )col1accol2      ?       @col3      @columns      @r   selfotherindexr   Nr   br   r	   r
   r   r   r   r   r   r      r   )   r   )pd	DataFramenpnancopyloccompare
RangeIndex
MultiIndexfrom_productrangeIndextmassert_frame_equal)r   dfdf2resultindicesr   expecteds   &      w/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/frame/methods/test_compare.pytest_compare_axisr1      so    
	&3RVV*<foV(
B '')CCGGICGGIZZZ3F^#--1a(--,,vv.>@Q-RS<<3'"&&"&&#s)CD
 --,,eAq!nvw>O-PQ((FF+,<<266]S"&&MBFFC=2663-H

 &+    zkeep_shape, keep_equalc           
         \         P                  ! R . RORRR\        P                  .R. RO/. ROR7      pVP	                  4       pRVP
                  R&   R	VP
                  R&   VP                  W0VR
7      pV '       Ed{   \         P                  ! ^4      p\         P                  P                  . RORR..4      pV'       dE   \         P                  ! . RO. RORR\        P                  \        P                  RR	..VVR7      pEMN\         P                  ! RR\        P                  \        P                  \        P                  \        P                  .\        P                  \        P                  \        P                  \        P                  \        P                  \        P                  .\        P                  \        P                  \        P                  \        P                  RR	..VVR7      pM[\         P                  ! ^ ^^4      p\         P                  P                  R R.RR..4      p\         P                  ! . RO. RO.WVR7      p\        P                  ! WG4       R# )r   r   r   r   r	   r
   r   r   r   r   )
keep_shape
keep_equalr   r   r   Nr   r   r   r   r   )r   r   r	   r	   r	   r	   )r   r   r
   r
   r
   r
   )r   r   r	   r	   )r   r   r   r   )r   r   r   r    r!   r"   r#   r$   r%   r&   r)   r*   )r4   r5   r+   r,   r-   r.   r   r/   s   &&      r0   test_compare_various_formatsr6   (   s    
	&3RVV*<foV(
B '')CCGGICGGIZZzZJFz--"--,,%'89
 ||22#rvvrvvsC8
 H ||#rvvrvvrvvrvv>VVRVVRVVRVVRVVRVVDVVRVVRVVRVVS#>
 H --1a(--,,vv.>@Q-RS<<!#78
 &+r2   c            	         \         P                  ! R . RORRR\        P                  .R. RO/. ROR7      p V P	                  4       pRVP
                  R&   V P                  V4      p\         P                  ! ^ .4      p\         P                  P                  R .RR	..4      p\         P                  ! RR..W4R
7      p\        P                  ! W%4       R# )r   r   r   r   r	   r
   r   r   r   r   r   Nr   r   r   r   r   r   r   r    r!   r"   r#   r(   r%   r&   r)   r*   r+   r,   r-   r.   r   r/   s         r0   test_compare_with_equal_nullsr:   ^   s     
	&3RVV*<foV(
B '')CCGGIZZ_FhhsmGmm((6(VW4E)FGG||c3ZLIH&+r2   c            	         \         P                  ! R . RORRR\        P                  .R. RO/. ROR7      p V P	                  4       pRVP
                  R&   \        P                  VP
                  R&   V P                  V4      p\         P                  ! ^ ^.4      p\         P                  P                  R R.R	R
..4      p\         P                  ! RR\        P                  \        P                  .\        P                  \        P                  R\        P                  ..VVR7      p\        P                  ! W%4       R# )r   r   r   r   r	   r
   r   r   r   r   r   r   Nr   r   r   r   r   r8   r9   s         r0   !test_compare_with_non_equal_nullsr<   o   s     
	&3RVV*<foV(
B '')CCGGICGGIZZ_Fhh1vGmm((66*:VW<M)NOG||
sBFFBFF	#bffbffc266%BCH
 &+r2   c           	      D   \         P                  ! R . RORRR\        P                  .R. RO/4      p\         P                  P                  . RO. RO.4      Vn        \         P                  P                  . RO. RO.4      Vn        VP                  4       pRVP                  R&   RVP                  R&   VP                  W R7      pV ^ 8X  d   \         P                  P                  . RO. RO. RO.4      p\         P                  P                  RR.R R..4      pR\        P                  .R\        P                  .\        P                  R.\        P                  R..pM\         P                  P                  R	R
.^ ^..4      p\         P                  P                  . RO. RO. RO.4      pRR\        P                  \        P                  .\        P                  \        P                  RR..p\         P                  ! WdVR7      p\        P                  ! W74       R# )r   r   r   r   r   r	   r
   r   r   xyr   r   )datar   r   Nr   r   )r   r   r   r   )r>   r>   r?   )r   r   r   )r   r   )r   r   )r>   r>   r?   r?   )r   r   r   r   )r   r   r   r   )r   r   r   r   )r   r   r   r   )r   r   r   r    r%   from_arraysr   r   r!   ilocr#   r)   r*   )r   r+   r,   r-   r.   r   r@   r/   s   &       r0   test_compare_multi_indexrC      s   		&3RVV*<foV
B **O=U+VWBJ}}((/9)EFBH
'')CCHHTNCHHTNZZZ3FQ--++!<1ST
 --++c3Z&&9I,JKbffRVV}rvvsmbffc]K--++c3Z!Q,@A--++$02
 c266266*RVVRVVS#,FG||gFH&+r2   c                     R p \         P                  ! . RO. ROR7      p\         P                  ! . RO. ROR7      p\        P                  ! \        V R7      ;_uu_ 4        VP                  V4       RRR4       R#   + '       g   i     R# ; i)QCan only compare identically-labeled \(both index and columns\) DataFrame objects)r   matchN)r   r      r   )r   r   d)r   r   pytestraises
ValueErrorr#   msgdf1r,   s      r0   test_compare_different_indicesrP      sZ    	  ,,y
8C
,,y
8C	z	-	-C 
.	-	-	-s   A;;B	c                  V   R p \         P                  ! \        P                  ! R4      4      p\         P                  ! \        P                  ! R4      4      p\
        P                  ! \        V R7      ;_uu_ 4        VP                  V4       RRR4       R#   + '       g   i     R# ; i)rE   rF   N)rH   rH   )r   r   )	r   r   r   oneszerosrJ   rK   rL   r#   rM   s      r0   test_compare_different_shapesrT      sg    	  ,,rwwv
'C
,,rxx'
(C	z	-	-C 
.	-	-	-s   ;BB(	c                  \   \         P                  ! R . R
ORRR\        P                  .R. RO/4      p \         P                  ! R . RORRR\        P                  .RRR\        P                  ./4      pV P	                  VRR7      p\         P
                  ! ^ ^.4      Vn        \         P                  ! R^ R^\        P                  /R^ R^\        P                  /R^ \        P                  ^R/R^ \        P                  ^\        P                  //4      p\        P                  ! W#4       R	# )r   r   r   r   r	   r
   r   r   result_namesNr   r   r   r   r   )leftright)r   rY   )r   rZ   )r   rY   )r   rZ   )	r   r   r   r    r#   r(   r   r)   r*   )rO   r,   r-   r/   s       r0   test_compare_result_namesr[      s    
,,	&3RVV*<foVC ,,OS#rvv&S#rvv&	
C [[+<[=F88QF#FL||q#q"&&132662q"&&!S12661bff5		
H &+r2   rW   HK23r   c           
         \         P                  ! R . R
ORRR\        P                  .R. RO/4      p\         P                  ! R . RORRR\        P                  .RRR\        P                  ./4      p\        P
                  ! \        R\        V 4       R2R7      ;_uu_ 4        VP                  W R7       R	R	R	4       R	#   + '       g   i     R	# ; i)r   r   r	   r
   r   zPassing 'result_names' as a z= is not supported. Provide 'result_names' as a tuple instead.rF   rV   Nr   r   rX   )	r   r   r   r    rJ   rK   	TypeErrortyper#   )rW   rO   r,   s   &  r0   test_invalid_input_result_namesrb      s     ,,	&3RVV*<foVC ,,OS#rvv&S#rvv&	
C 
*4+=*> ?D D
 
 	C3
 
 
 
s   #C  C	z	val1,val2c           
         R V .p\         P                  ! ^V.RR7      p\         P                  ! RVRR^./4      p\         P                  ! RVRR^./4      p\         P                  ! RVRVR\        P                  R\        P                  /4      pV \         P
                  J d2   V\         P
                  J d   \        P                  VP                  R&   V \         P
                  J dC   \        P                  ! \        RR7      ;_uu_ 4        VP                  VRR	7      pR
R
R
4       R
# VP                  VRR	7      p\        P                  ! Wv4       R
#   + '       g   i     R
# ; i)r   Int64dtyper   r   r	   z boolean value of NA is ambiguousrF   Tr4   Nr   r   r   r   r   r   r   r   )r   rh   )r   Seriesr   r   r    NAr"   rJ   rK   r`   r#   r)   r*   )val1val2arrserrO   r,   r/   r-   s   &&      r0   test_compare_ea_and_np_dtyperr      s    +C
))QIW
-C
,,S#Qx0
1C
,,S#Qx0
1C||3C266BFF		
H ruu})+%&ruu}]]9,NOO[[[6F PO ST2
f/	 POOs   EE(	z$df1_val,df2_val,diff_self,diff_otherc           
      $   \         P                  ! R \         P                  ! V \         P                  .RR7      RR^./4      pVP	                  4       pWP
                  R&   \         P                  ! R	\         P                  ! V\         P                  .RR7      R
\         P                  ! V\         P                  .RR7      R\        P                  R\        P                  /4      pVP                  VRR7      p\        P                  ! Wv4       R# )r   rd   re   r   r	   Trg   N)r   r   rh   ri   rj   rk   )r   r   rl   rm   r!   r"   r   r    r#   r)   r*   )df1_valdf2_val	diff_self
diff_otherrO   r,   r/   r-   s   &&&&    r0   !test_compare_nullable_int64_dtyperx     s     ,,RYY'7wGsTUhW
XC
((*CGGFO||299i%7wGBIIz255&9I266BFF		
H [[[.F&+r2   )r   r   r   r   ))TF)FT)TT)   rH   ry   rH   )numpyr   rJ   pandasr   pandas._testing_testingr)   markparametrizer1   r6   r:   r<   rC   rP   rT   r[   rb   rm   rr   rx    r2   r0   <module>r      s       'AB, C,> *,*,Z,",. 1v., /,D,2 	
A	aa		4	4, Z"%%"%%,0	08 *	
Aruubee	
BEE1bee	ruubee$	,,r2   