+
    yȇi5                     F    ^ RI t^ RIt^ RIHtHt ^ RIHt  ! R R4      t	R# )    N)PeriodIndexperiod_rangec                   D   a  ] tR t^t o R tR tR tR tR tR t	Rt
V tR# )	TestPeriodIndexShiftc                Z   \        . RORRR7      pVP                  \        P                  ! . RO4      4      p\        . RORRR7      p\        P
                  ! W#4       VP                  \        P                  ! . RO4      4      p\        . R	ORRR7      p\        P
                  ! W#4       R# )
2011-01MidxfreqnameNr   2011-02NaT2011-04)            )r   r   r   z2011-08)r   r   )r   2010-12r   r   )r   shiftnparraytmassert_index_equalselfr
   resultexpecteds   &   ~/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/indexes/period/methods/test_shift.pytest_pi_shift_ndarray*TestPeriodIndexShift.test_pi_shift_ndarray   s    43U
 288L1243U
 	f/288N3443U
 	f/    c                   \        R RRR7      p\        R RRR7      p\        P                  ! VP                  ^ 4      V4       \	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  ^4      V4       \        R RRR7      p\        R RRR7      p\	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  R4      V4       \        RRRR7      p\        RR	R
R7      p\	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  ^4      V4       \        RRRR7      p\        RRRR7      p\	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  R4      V4       \        RRRR7      p\        RRRR7      p\	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  ^4      V4       \        RRRR7      p\        RRRR7      p\	        V4      \	        V4      8X  g   Q h\        P                  ! VP                  R4      V4       R# )Y1/1/2001	12/1/2009r   startendz1/1/2002z	12/1/2010z1/1/2000z	12/1/2008r	   z2/1/2001z1/1/2010z	12/1/2000z	11/1/2009Dz1/2/2001z	12/2/2009z
12/31/2000z
11/30/2009N)r   r   r   r   len)r   pi1pi2s   &  r"   
test_shiftTestPeriodIndexShift.test_shift   s   :;G:;G
ciilC03x3s8###
ciilC0:;G:;G3x3s8###
ciimS1:;G::F3x3s8###
ciilC0:;G;KH3x3s8###
ciimS1:;G:;G3x3s8###
ciilC0:;G<\J3x3s8###
ciimS1r%   c                   \        . R RR7      pRp\        P                  ! \        VR7      ;_uu_ 4        VP	                  ^RR7       RRR4       \
        P                  ! VP	                  ^ 4      V4       \
        P                  ! VP	                  ^4      V4       \        . ROR RR7      p\
        P                  ! VP	                  ^ 4      V4       \        . ROR RR7      p\
        P                  ! VP	                  ^4      V4       \        . R	OR RR7      p\
        P                  ! VP	                  R
4      V4       R#   + '       g   i     EL; i)xxxh)r   r   z6`freq` argument is not supported for PeriodIndex.shift)matchr   N)z2011-01-01 10:00z2011-01-01 11:00z2011-01-01 12:00)z2011-01-01 13:00z2011-01-01 14:00z2011-01-01 15:00)z2011-01-01 07:00z2011-01-01 08:00z2011-01-01 09:00)r   pytestraises	TypeErrorr   r   r   )r   r
   msgexps   &   r"   test_shift_corner_cases,TestPeriodIndexShift.test_shift_corner_casesA   s    "5s3F]]9C00IIacI" 1 	ciilC0
ciilC0H

 	ciilC0H

 	ciilC0H

 	ciimS11 100s   EE	c                    \        . RORRR7      pVP                  ^4      p\        . RORRR7      p\        P                  ! W#4       VP                  VP                  8X  g   Q hR# )r   r	   r
   r   Nr   )r   z2011-03r   z2011-05)r   r   r   r   r   r   s   &   r"   test_shift_nat#TestPeriodIndexShift.test_shift_nat`   sY    43U
 143U
 	f/{{hmm+++r%   c                    \        R ^RR7      pVP                  ^4      p\        . RORR7      p\        P                  ! W#4       R# )20130101r-   )periodsr   r8   N)z
2013-01-02z
2013-01-03z
2013-01-04z
2013-01-05z
2013-01-06)r   r   r   r   r   )r   dranger    r!   s   &   r"   test_shift_gh8083&TestPeriodIndexShift.test_shift_gh8083k   s?     j!#>aR
 	f/r%   c                    \        R RRR7      p\        P                  ! VP                  ^ R7      V4       \        P                  ! VP                  ^ 4      V4       R# )r'   r(   r)   r*   )rF   N)r   r   r   r   )r   r
   s   & r"   test_shift_periods'TestPeriodIndexShift.test_shift_periodsv   sC    :;G
ciii2C8
ciilC0r%    N)__name__
__module____qualname____firstlineno__r#   r2   r?   rB   rH   rK   __static_attributes____classdictcell__)__classdict__s   @r"   r   r      s)     0  2D2>	,	01 1r%   r   )
numpyr   r:   pandasr   r   pandas._testing_testingr   r   rM   r%   r"   <module>rY      s!      o1 o1r%   