+
    xȇi                     J    ^ RI t^ RIt^ RIt^ RIHt ^ RIHt  ! R R4      t	R# )    N)Seriesc            
         a  ] tR t^	t o R tR tR tR t]P                  P                  R. RO4      ]P                  P                  R. RO4      R 4       4       tR t]P                  P                  R	R
.^ R.3RR.^RR.3RR.^RR.3RR.^ RR.3.4      R 4       t]P                  P                  R. RO4      R 4       t]P                  P                  RR. R O3R. R!O3]P                   ! 4       . R"O3.4      R 4       tRtV tR# )#TestSeriesRoundc                   R VP                   n        VP                  ^4      p\        \        P                  ! VP
                  ^4      VP                   RR7      p\        P                  ! W#4       VP                  VP                  8X  g   Q hR# )
index_namets)indexnameN)r	   r
   roundr   npvaluestmassert_series_equal)selfdatetime_seriesresultexpecteds   &&  v/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/series/methods/test_round.py
test_roundTestSeriesRound.test_round
   sq    %1" &&q)HH_++Q/7L7LSW
 	v0{{o22222    c                V   \        . ROVR7      p\        P                  ! V^ R7      p\        . ROVR7      p\        P                  ! W44       Rp\
        P                  ! \        VR7      ;_uu_ 4        \        P                  ! V^ VR7       RRR4       R#   + '       g   i     R# ; i)	{Gz?dtype)decimalsz$the 'out' parameter is not supported)match)r   outN)r   g(\?Q?)       @      ?        )r   r   r   r   r   pytestraises
ValueError)r   any_float_dtypeserr   r   msgs   &&    r   test_round_numpy TestSeriesRound.test_round_numpy   sn    '?hhsQ'/A
s-4]]:S11HHS1#. 2111s   3BB(	c                @   \        R \        P                  R.VR7      p\        P                  ! R4      ;_uu_ 4        VP                  4       pRRR4       \        R\        P                  R.VR7      p\        P                  ! XV4       R#   + '       g   i     LG; i)r   r   r   Nr    r"   )r   r   nanr   assert_produces_warningr   r   )r   r&   r'   r   r   s   &&   r   test_round_numpy_with_nan)TestSeriesRound.test_round_numpy_with_nan   sj    dBFFD)A''--YY[F .3,OD
vx0 .-s   BB	c                $   \        . RO\        ^4      VR7      p\        V4      p\        . RO\        ^4      VR7      p\        P                  ! W44       ^p\        . RO\        ^4      VR7      p\        W%4      p\        P                  ! W64       R# )+?)r	   r   N)r1   gCl @gCl@)r!   r          @)gQ?g(\ @g(\@)r   ranger   r   r   )r   r&   r'   r   expected_rounded0r   expected_roundeds   &&     r   test_round_builtin"TestSeriesRound.test_round_builtin&   s    !(!

 s"58?
 	v9!eAho
 s%
v8r   methodfreqc                    \        \        P                  .R V R2R7      p\        \        P                  R V R2R7      p\        VP                  V4      pV! V4      p\
        P                  ! Wu4       R# )zM8[]r   N)r   pdNaTgetattrdtr   r   )r   r8   r9   unitr'   r   round_methodr   s   &&&&    r   test_round_natTestSeriesRound.test_round_nat9   s^     bffXs4&]3"&&#dV16svvv.d#
v0r   c                    \        R R.RR7      pVP                  4       pVP                  ^4      p\        P                  ! W24       RVP
                  ^ &   \        P                  ! W4       R# )TFbooleanr   N)r   copyr   r   r   iloc)r   r'   r   r   s   &   r   test_round_ea_boolean%TestSeriesRound.test_round_ea_booleanC   sS    dE])488:1
v0A
s-r   zdata,decimals,expected_datag?r"   gX9v?gK7@g333333?g@gGz?g(\@r!   r2   c                    \        VR R7      pVP                  V4      p\        VR R7      p\        P                  ! WV4       R# )objectr   Nr   r   r   r   )r   datar   expected_datar'   r   r   s   &&&&   r   test_round_dtype_object'TestSeriesRound.test_round_dtype_objectL   s8     T*8$-x8
v0r   r   Nc                    \        VR 7      P                  ^4      p\        VR 7      p\        P                  ! W#4       R# r   NrL   )r   r   r   r   s   &&  r   test_round_empty_series'TestSeriesRound.test_round_empty_series\   s1     e$**1-&
v0r   z
dtype,datastringcategoryc                l    \        W!R 7      pVP                  ^4      p\        P                  ! WC4       R# rR   rL   )r   r   rM   r'   r   s   &&&  r   !test_round_non_numeric_dtype_noop1TestSeriesRound.test_round_non_numeric_dtype_noopk   s)     T'1
v+r    )r   floorceil)s5smin5minh5h)Nfloat64int64rK   )abc)cat1cat2cat3)xyz)__name__
__module____qualname____firstlineno__r   r)   r.   r6   r#   markparametrizerB   rH   rO   rS   r<   StringDtyperX   __static_attributes____classdictcell__)__classdict__s   @r   r   r   	   sE    3	/19& [[X'AB[[V%JK1 L C1. [[%UAuU^Qc
+U^Qt-U^Qc
+		
11 [[	
11 [['12^^/	
,,r   r   )
numpyr   r#   pandasr<   r   pandas._testing_testingr   r   rZ   r   r   <module>r|      s         n, n,r   