+
    yȇi                     T    ^ RI t^ RIt^ RIt^ RIHtHt ^ RIHt	 R t
 ! R R4      tR# )    N)PeriodIndexSeriesc                     \        . RORR7      p \        P                  ! . RO\        R7      pV P	                  4       p\
        P                  ! W!4       V P	                  RR7      p\
        P                  ! W!4       \        P                  ! . RO\        R7      pV P	                  RR7      p\
        P                  ! W!4       \        R \        P                  R.RR7      p \        P                  ! . RO\        R7      pV P	                  R	R7      p\
        P                  ! W!4       \        P                  ! . RO\        R7      pV P	                  RR7      p\
        P                  ! W!4       R
# )
2017-01-01
2017-01-03Dfreq)dtypepandas)na_repz%m-%Y-%d)date_formatNaTN)r   z
2017-01-02r   )z
01-2017-01z
01-2017-02z
01-2017-03)r   r   r   )r   r   r   )	r   nparrayobject_get_values_for_csvtmassert_numpy_array_equalpdr   )indexexpectedresults      x/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/indexes/period/test_formats.pytest_get_values_for_csvr      s   BME xxB&QH&&(F1 &&h&7F1 xxB&QH&&:&>F1 rvv|<3GExx;6JH&&e&4F1xx>fMH&&h&7F1    c                   t   a  ] tR t^,t o ]P
                  P                  RRR.4      R 4       tR tR t	Rt
V tR# )	TestPeriodIndexRenderingmethod__repr____str__c                
   \        . R R7      p\        R.R R7      p\        RR.R R7      p\        . ROR R7      p\        . RORR7      p\        . RORR7      p\        P                  ! R^RR7      p\        P                  ! R^RR7      p	\        P                  ! R^RR7      p
\        RR	.R
R7      pRpRpRpRpRpRpRpRpRpRp\        W#WEWgWW.
WWVVVVVV.
4       F   w  pp\	        VV4      ! 4       pVV8X  d   K   Q h	  R# )r   r	   
2011-01-01
2011-01-02Yh2013Q1Qperiodsr
   z
2011-02-013Dz"PeriodIndex([], dtype='period[D]')z.PeriodIndex(['2011-01-01'], dtype='period[D]')z<PeriodIndex(['2011-01-01', '2011-01-02'], dtype='period[D]')zJPeriodIndex(['2011-01-01', '2011-01-02', '2011-01-03'], dtype='period[D]')z<PeriodIndex(['2011', '2012', '2013'], dtype='period[Y-DEC]')zOPeriodIndex(['2011-01-01 09:00', '2012-02-01 10:00', 'NaT'], dtype='period[h]')z.PeriodIndex(['2013Q1'], dtype='period[Q-DEC]')z8PeriodIndex(['2013Q1', '2013Q2'], dtype='period[Q-DEC]')zBPeriodIndex(['2013Q1', '2013Q2', '2013Q3'], dtype='period[Q-DEC]')z=PeriodIndex(['2011-01-01', '2011-02-01'], dtype='period[3D]')Nr#   r$   z
2011-01-03201120122013z2011-01-01 09:00z2012-02-01 10:00r   )r   r   period_rangezipgetattr)selfr   idx1idx2idx3idx4idx5idx6idx7idx8idx9idx10exp1exp2exp3exp4exp5exp6exp7exp8exp9exp10idxr   r   s   &&                       r   test_representation,TestPeriodIndexRendering.test_representation-   s5    2C(L>4L,7cBECP3#>JQTUx=x=x=\<8tD3?M Y 	 N! 	
 @ISO TTIT4tT5I
MC S&)+FX%%%
r   c                   \        . R R7      p\        R.R R7      p\        RR.R R7      p\        . ROR R7      p\        . RORR7      p\        . RORR7      p\        P                  ! R^RR7      p\        P                  ! R^RR7      p\        P                  ! R^RR7      p	R	p
R
pRpRpRpRpRpRpRp\        WW4WVWxV	.	WWWVVV.	4       F#  w  pp\	        \        V4      4      pVV8X  d   K#  Q h	  R# )r   r	   r#   r$   r%   r&   r'   r(   r)   zSeries([], dtype: period[D])z 0    2011-01-01
dtype: period[D]z00    2011-01-01
1    2011-01-02
dtype: period[D]z@0    2011-01-01
1    2011-01-02
2    2011-01-03
dtype: period[D]z20    2011
1    2012
2    2013
dtype: period[Y-DEC]zR0    2011-01-01 09:00
1    2012-02-01 10:00
2                 NaT
dtype: period[h]z 0    2013Q1
dtype: period[Q-DEC]z,0    2013Q1
1    2013Q2
dtype: period[Q-DEC]z80    2013Q1
1    2013Q2
2    2013Q3
dtype: period[Q-DEC]Nr,   r-   r1   )r   r   r2   r3   reprr   r5   r6   r7   r8   r9   r:   r;   r<   r=   r>   r@   rA   rB   rC   rD   rE   rF   rG   rH   rJ   r   r   s   &                     r   test_representation_to_series6TestPeriodIndexRendering.test_representation_to_series\   s   2C(L>4L,7cBECP3#>JQTUx=x=x=1



 !TTBTtTB
MC &+&FX%%%
r   c                   \        . R R7      p\        R.R R7      p\        RR.R R7      p\        . ROR R7      p\        . RORR7      p\        . RORR7      p\        P                  ! R^RR7      p\        P                  ! R^RR7      p\        P                  ! R^RR7      p	R	p
R
pRpRpRpRpRpRpRp\        WW4WVWxV	.	WWWVVV.	4       F  w  ppVP	                  4       pVV8X  d   K  Q h	  R# )r   r	   r#   r$   r%   r&   r'   r(   r)   zPeriodIndex: 0 entries
Freq: Dz8PeriodIndex: 1 entries, 2011-01-01 to 2011-01-01
Freq: Dz8PeriodIndex: 2 entries, 2011-01-01 to 2011-01-02
Freq: Dz8PeriodIndex: 3 entries, 2011-01-01 to 2011-01-03
Freq: Dz0PeriodIndex: 3 entries, 2011 to 2013
Freq: Y-DECz7PeriodIndex: 3 entries, 2011-01-01 09:00 to NaT
Freq: hz4PeriodIndex: 1 entries, 2013Q1 to 2013Q1
Freq: Q-DECz4PeriodIndex: 2 entries, 2013Q1 to 2013Q2
Freq: Q-DECz4PeriodIndex: 3 entries, 2013Q1 to 2013Q3
Freq: Q-DECNr,   r-   r1   )r   r   r2   r3   _summaryrO   s   &                     r   test_summary%TestPeriodIndexRendering.test_summary   s   2C(L>4L,7cBECP3#>JQTUx=x=x= !TTBTtTB
MC \\^FX%%%
r    N)__name__
__module____qualname____firstlineno__pytestmarkparametrizerK   rP   rT   __static_attributes____classdictcell__)__classdict__s   @r   r   r   ,   s?     [[X
I'>?+& @+&\6&p-& -&r   r   )numpyr   r[   r   r   r   r   pandas._testing_testingr   r   r   rV   r   r   <module>rd      s*       2@U& U&r   