+
    xȇi_                        ^ RI t^ RIt^ RIHt ^ RIHu Ht ^ RI	t
^ RI	HtHt ^ RIHt ^ RIHt ]P$                  ! R4      ]P&                  P(                  ]P&                  P+                  4       .t]P.                  ! R4      t]P3                  ]P&                  P+                  ]! ]P4                  4      ]! R4      8H  ;'       d    ]! 4       R]P4                   2R7      4       ]P6                  ! ^ ^.R	7      R
 4       tR tR tR t]P&                  PA                  RR R R R .4      R 4       t!]P&                  PA                  R. RO. RO.4      R 4       t"R t#R t$R t%R# )    N)is_platform_arm)	DataFrameIndex)Versionnumbaz0.61z&Segfaults on ARM platforms with numba )reason)paramsc                     V P                   # N)param)requests   &m/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/apply/test_numba.py
apply_axisr      s    ==    c                     R  pV P                  VRVR7      pV P                  VRVR7      p\        P                  ! W44       R# )c                     V # r    xs   &r   <lambda>+test_numba_vs_python_noop.<locals>.<lambda>        Qr   r   engineaxispythonN)applytmassert_frame_equal)float_framer   funcresultexpecteds   &&   r   test_numba_vs_python_noopr$      sC    DtG*EF  hZ HH&+r   c                  j   \        ^\        RR.\        P                  ! \        P
                  R7      R7      \        RR.\        P                  ! \        P
                  R7      R7      R7      p R pV P                  VR	^ R
7      pV P                  VR^ R
7      p\        P                  ! W#RRR7       R# )   ab)na_valuedtyper   y)indexcolumnsc                     V # r   r   r   s   &r   r   3test_numba_vs_python_string_index.<locals>.<lambda>-   r   r   r   r   r   F)check_column_typecheck_index_typeN)	r   r   pdStringDtypenpnanr   r   r   )dfr!   r"   r#   s       r   !test_numba_vs_python_string_indexr8   &   s    		S#Jbnnbff&EFsCj(GH
B
 DXXd7X3FxxXAx6HEEr   c            	      R   \        R . R
OR. ROR. RO/\        . RO4      R7      p R pV P                  VR^R7      pV P                  VR^R7      p\        P                  ! W#4       R pV P                  VR^ R7      pV P                  VR^ R7      p\        P                  ! W#4       R	# )r'   r(   cr-   c                     V R ,          # )r:   r   r   s   &r   r   /test_numba_vs_python_indexing.<locals>.<lambda>:       3r   r   r   r   c                     V R ,          # )Ar   r   s   &r   r   r=   ?   r>   r   Nr&                  )g      @g       @g      "@)r@   BC)r   r   r   r   assert_series_equal)framerow_funcr"   r#   col_funcs        r   test_numba_vs_python_indexingrN   5   s    	iio>O$E  H[['[:F{{8H1{=H6,H[['[:F{{8H1{=H6,r   	reductionc                 "    V P                  4       # r   )meanr   s   &r   r   r   G   s
    qvvxr   c                 "    V P                  4       # r   )minr   s   &r   r   r   G   s
    1557r   c                 "    V P                  4       # r   )maxr   s   &r   r   r   G   s
    aeegr   c                 "    V P                  4       # r   )sumr   s   &r   r   r   G   s
    r   c                     \        \        P                  ! R\        P                  R7      4      pVP	                  V RVR7      pVP	                  V RVR7      p\
        P                  ! W44       R# )rE   r*   r   r   r   N)rE   rE   )r   r5   onesfloat64r   r   rJ   )rO   r   r7   r"   r#   s   &&   r   test_numba_vs_python_reductionsr[   E   sS    
 
27764	5BXXijXAFxx	(xDH6,r   colnamesc                   a \        \        P                  ! . RO. R	O. R
O.\        P                  R7      V R7      pV ^ ,          oV3R lpVP	                  VR^R7      pVP	                  VR^R7      p\
        P                  ! W44       R# )r&   r*   )r.   c                    < V S,          # r   r   )r   	first_cols   &r   r   -test_numba_numeric_colnames.<locals>.<lambda>W   s	    !I,r   r   r   r   NrA   rD   )      	   )r   r5   arrayint64r   r   rJ   )r\   r7   fr"   r#   r_   s   &    @r   test_numba_numeric_colnamesrg   P   sp     

)Y	2"((CX
B IAXXaaX0Fxx(x3H6,r   c                     R  p\         P                  ! \        RR7      ;_uu_ 4        V P                  VRRR/R7       RRR4       R#   + '       g   i     R# ; i)c                     V # r   r   r   s   &r   r   1test_numba_parallel_unsupported.<locals>.<lambda>^       !r   zAParallel apply is not supported when raw=False and engine='numba'matchr   parallelT)r   engine_kwargsN)pytestraisesNotImplementedErrorr   )r    rf   s   & r   test_numba_parallel_unsupportedrs   ]   sO    A	Q
 
 	!GJ;MN	
 
 
 
s   A		A	c                     R  p\        R^^./\        RR.4      R7      p\        P                  ! \        RR7      ;_uu_ 4        VP                  VRV R7       RRR4       R#   + '       g   i     R# ; i)c                     V # r   r   r   s   &r   r   2test_numba_nonunique_unsupported.<locals>.<lambda>g   rk   r   r'   r;   zBThe index/columns must be unique when raw=False and engine='numba'rl   r   r   N)r   r   rp   rq   rr   r   r   rf   r7   s   &  r    test_numba_nonunique_unsupportedrx   f   sd    A	C!Q=sCj(9	:B	R
 
 	74	
 
 
 
s   A##A4	c           	         \         P                  ! R 4       R p\        R^^.RRR.R^^./4      pVR,          P                  R4      VR&   \         P                  ! \
        RR7      ;_uu_ 4        VP                  VRV R	7       R
R
R
4       \         P                  ! \
        RR7      ;_uu_ 4        VR,          P                  4       P                  VRV R	7       R
R
R
4       R
#   + '       g   i     Lh; i  + '       g   i     R
# ; i)pyarrowc                     V # r   r   r   s   &r   r   /test_numba_unsupported_dtypes.<locals>.<lambda>r   rk   r   r'   r(   r:   zdouble[pyarrow]z>Column b must have a numeric dtype. Found 'object|str' insteadrl   r   r   NzUColumn c is backed by an extension array, which is not supported by the numba engine.)rp   importorskipr   astyperq   
ValueErrorr   to_framerw   s   &  r   test_numba_unsupported_dtypesr   p   s    
	"A	C!QsCj#1v>	?Bgnn./BsG	N
 
 	74	
 
6
 

 	3  7 D
 

 

 
 
s   0C%1*C8%C5	8D		rA   )g      ?g       @g      @)&numpyr5   rp   pandas.compatr   pandas.util._test_decoratorsutil_test_decoratorstdpandasr3   r   r   pandas._testing_testingr   pandas.util.versionr   
skip_if_nomark
single_cpuskipif
pytestmarkr}   r   append__version__fixturer   r$   r8   rN   parametrizer[   rg   rs   rx   r   r   r   r   <module>r      sY     ) ) )   'mmG$fkk&<&<fkk>P>P>RS
G$ 
  
KK!!"gfo5KK/:K78I8I7JK   1v ,-  *,=?PQ-	- i%AB	- C	-O5Er   