+
    xȇio                     B    ^ RI Ht ^ RIt^ RIt^ RIHt  ! R R4      tR# )    )finalNc                     a  ] tR t^	t o RtV 3R lR ltV 3R lR ltV 3R lR lt]V 3R lR	 l4       t	]
P                  P                  R
RR.4      R 4       t]
P                  P                  R4      ]
P                  P                  R
RR.4      R 4       4       t]
P                  P                  R
RR.4      R 4       tRtV tR# )BaseReduceTestsz[
Reduction specific tests. Generally these only
make sense for numeric/boolean operations.
c                @   < V ^8  d   QhRS[ P                  RS[RS[/# )   serop_namereturnpdSeriesstrbool)format__classdict__s   "r/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/extension/base/reduce.py__annotate__BaseReduceTests.__annotate__   s&      ryy 3 4     c                    R # )F )selfr   r	   s   &&&r   _supports_reduction#BaseReduceTests._supports_reduction   s    r   c                @   < V ^8  d   QhRS[ P                  RS[RS[/# r   r   r	   skipnar   )r   r   s   "r   r   r      s&     1 1		 1C 1 1r   c                *   \        W4      p VP                  R 4      p\        WR4      pVR8X  d   V! 4       pV! 4       pMV! VR7      pV! VR7      p\
        P                  ! Wx4       R#   \        \        3 d    TP                  \        4      p Lsi ; i)float64countr   N)getattrastype	TypeError
ValueErrorobjecttmassert_almost_equal)	r   r   r	   r   res_opaltexp_opresultexpecteds	   &&&&     r   check_reduceBaseReduceTests.check_reduce   s     &	%**Y'C &gXFxH6*FV,H
v0 :& 	% **V$C		%s   A) )&BBc                &   < V ^8  d   QhRS[ RS[/# )r   r	   r   )r   r   )r   r   s   "r   r   r   *   s      # t r   c                    VP                   # )Ndtype)r   arrr	   r   s   &&&&r   _get_expected_reduction_dtype-BaseReduceTests._get_expected_reduction_dtype*   s     yyr   c                @   < V ^8  d   QhRS[ P                  RS[RS[/# r   r   )r   r   s   "r   r   r   5   s&     ; ;bii ;# ;t ;r   c                d   VP                   p\        P                  ! R V/4      pVR9   d   R^/M/ pV P                  WBV4      pVP                  ! V3RVRR/VB p\        WR4      ! RRV/VB P                   p	\        P                  ! W4       V'       gM   VP                  4       P                  4       '       d)   \        P                   ! \        P                  .VR7      p
M8\        VP                  4       V4      ! 4       p\        P                   ! V.VR7      p
\        P                  ! W4       R# )	addofr   keepdimsTr2   N)varstdsemr   )arrayr   	DataFramer5   _reducer"   r'   assert_extension_array_equalisnaanyNAdropna)r   r   r	   r   r4   dfkwargs	cmp_dtyperesult1result2r-   	exp_values   &&&&        r   check_reduce_frame"BaseReduceTests.check_reduce_frame4   s     ii\\3*% '+@ @&!b66sVL	 ++gNfNtNvN"&?f??EE
''9 #((*..**xxy9H

g68Ixx9=H
'':r   r   TFc                6   Tp\         P                  ! V4      pV P                  WT4      '       gD   R p\        P                  ! \
        VR7      ;_uu_ 4        \        WT4      ! VR7       RRR4       R# V P                  WTV4       R#   + '       g   i     R# ; izV[Cc]annot perform|Categorical is not ordered for operation|does not support operation|)matchr!   Nr   r   r   pytestraisesr$   r"   r.   )r   dataall_boolean_reductionsr   r	   r   msgs   &&&&   r   test_reduce_series_boolean*BaseReduceTests.test_reduce_series_booleanO   su    (iio''55. 
 y44%V4 54 cF3	 544   BB	zignore::RuntimeWarningc                6   Tp\         P                  ! V4      pV P                  WT4      '       gD   R p\        P                  ! \
        VR7      ;_uu_ 4        \        WT4      ! VR7       RRR4       R# V P                  WTV4       R#   + '       g   i     R# ; irP   rR   )r   rU   all_numeric_reductionsr   r	   r   rW   s   &&&&   r   test_reduce_series_numeric*BaseReduceTests.test_reduce_series_numerica   sw     )iio''55. 
 y44%V4 54
 cF3 544rZ   c                    Tp\         P                  ! V4      pVR 8X  d   \        P                  ! V R24       V P	                  WT4      '       g   \        P                  ! RV R24       V P                  WTV4       R# )r    z not an array methodz
Reduction z not supported for this dtypeN)r   r   rS   skipr   rM   )r   rU   r\   r   r	   r   s   &&&&  r   test_reduce_frame!BaseReduceTests.test_reduce_frameu   sg    (iiogKK7)#789''55KK*WI-JKLf5r   r   N)__name__
__module____qualname____firstlineno____doc__r   r.   r5   r   rM   rS   markparametrizerX   filterwarningsr]   ra   __static_attributes____classdictcell__)r   s   @r   r   r   	   s     
 1 1.  ; ;4 [[Xe}54 64" [[ 89[[Xe}54 6 :4$ [[Xe}5
6 6
6r   r   )	typingr   rS   pandasr   pandas._testing_testingr'   r   r   r   r   <module>rq      s       w6 w6r   