
    MhT
                         S SK rS SKrS SKJrJrJrJr  \R                  S\4S j5       r	\R                  S 5       r
\R                  S 5       r\R                  S 5       r\R                  S 5       rg)	    N)	DataFrameIndexNaT
date_rangereturnc            
          [        [        R                  R                  S5      R	                  S5      [        [        S5      [        S9[        SSSS9S	9$ )
zV
Fixture for DataFrame of floats with DatetimeIndex

Columns are ['A', 'B', 'C', 'D']
   )d      ABCDdtypez
2000-01-01r
   B)periodsfreq)columnsindex)	r   nprandomdefault_rngstandard_normalr   listobjectr        M/var/www/html/env/lib/python3.13/site-packages/pandas/tests/frame/conftest.pydatetime_framer      sH     
		a 00:d6l&1s= r   c            
         [        [        R                  R                  S5      R	                  S5      [        [        S5       V s/ s H  n SU  3PM
     sn [        S9[        [        S5      [        S9S9nSUS	'   U$ s  sn f )
zt
Fixture for DataFrame of floats and strings with index of unique strings

Columns are ['A', 'B', 'C', 'D', 'foo'].
r	   )   r   r   foo_r   r   )r   r   barfoo)	r   r   r   r   r   r   ranger   r   )idfs     r   float_string_framer&      sq     

		a 009r3AtA3Z36Bd6l&1
B
 BuII	 4s   A=c                  \   [        [        [        S5      / SQ5       V Vs0 s H3  u  pU [        R                  R                  S5      R	                  SUS9_M5     snn [        [        S5       Vs/ s H  nSU 3PM
     sn[        S9S9nUS   R                  S	5      US'   U$ s  snn f s  snf )
zp
Fixture for DataFrame of different float types with index of unique strings

Columns are ['A', 'B', 'C', 'D'].
r   )float32r(   r(   float64r	   r   r   r    r   Cfloat16)
r   zipr   r   r   r   r   r#   r   astype)colr   r$   r%   s       r   mixed_float_framer0   *   s     
 "VJ	

 &&q)0050AA	
 r3AtA3Z36B
B gnnY'BsGI	
 4s   :B#
/B)c                      [        [        [        S5      / SQ5       V Vs0 s H  u  pU [        R                  " SUS9_M     snn [        [        S5       Vs/ s H  nSU 3PM
     sn[        S9S9$ s  snn f s  snf )zn
Fixture for DataFrame of different int types with index of unique strings

Columns are ['A', 'B', 'C', 'D'].
r   )int32uint64uint8int64r   r   r    r*   )r   r-   r   r   onesr   r#   r   )r/   r   r$   s      r   mixed_int_framer7   ?   s{      "$v,0UV	
V
 5))V	
 r3AtA3Z36B 	
 4s   "A2
A8c            
          [        [        SSS9[        SSSS9[        SSSS9S.5      n [        U R                  S'   [        U R                  S	'   U $ )
a  
Fixture for DataFrame of date_range Series with different time zones

Columns are ['A', 'B', 'C']; some entries are missing

           A                         B                         C
0 2013-01-01 2013-01-01 00:00:00-05:00 2013-01-01 00:00:00+01:00
1 2013-01-02                       NaT                       NaT
2 2013-01-03 2013-01-03 00:00:00-05:00 2013-01-03 00:00:00+01:00
20130101   )r   z
US/Eastern)r   tzCET)Ar   r+   )   r>   )r>   r	   )r   r   r   iloc)r%   s    r   timezone_framer@   O   sV     
J2JlCJe<	

B BGGDMBGGDMIr   )numpyr   pytestpandasr   r   r   r   fixturer   r&   r0   r7   r@   r   r   r   <module>rE      s       
	 
 
    (    r   