
     f                        d dl Zd dlZd dlZd dlmZ  ej                  d ej                  dej                        g      d        Z	eej                  ej                  fD  cg c]8  } ej                  ej                  ej                  fD ]  } | d gdz  |       : c}} Zej                  eej                  fD  cg c]  }  | dgdz  ej                         c}        ej                  ej                  ej                  ej                  fD cg c]  } ej                  d |       c}       ej                   ej                  dej                        g       ej                  g d	        ej                  e      d
        Z ej                   ej                  d      j!                          ej                  d       ej                  d      j#                         gd       d        Z ej                  ej&                  j)                  d      ej&                  j+                  d       ej                  d      j!                          ej                  d       ej,                  dd       ej,                  dd      gd       d        Z ej                  ej&                  j+                  d      ej&                  j1                  d       ej                  d      j!                          ej                  d       ej,                  dd       ej,                  dd      gd       d        Zej&                  j5                  d      ej&                  j7                  d      ej&                  j1                         gZ ej                   ej,                  dd       ej                  d       j!                          ej                  d!      gez         d"        Zyc c}} w c c} w c c}w )#    N)Index   )dtype)paramsc                     | j                   S )a@  
    Several variants of integer value 1. The zero-dim integer array
    behaves like an integer.

    This fixture can be used to check that datetimelike indexes handle
    addition and subtraction of integers and zero-dimensional arrays
    of integers.

    Examples
    --------
    dti = pd.date_range('2016-01-01', periods=2, freq='h')
    dti
    DatetimeIndex(['2016-01-01 00:00:00', '2016-01-01 01:00:00'],
    dtype='datetime64[ns]', freq='h')
    dti + one
    DatetimeIndex(['2016-01-01 01:00:00', '2016-01-01 02:00:00'],
    dtype='datetime64[ns]', freq='h')
    paramrequests    Z/var/www/html/py/new-venv/lib/python3.12/site-packages/pandas/tests/arithmetic/conftest.pyoner      s    ( ==              )r   g        r   c                     | j                   S )a  
    Several types of scalar zeros and length 5 vectors of zeros.

    This fixture can be used to check that numeric-dtype indexes handle
    division by any zero numeric-dtype.

    Uses vector of length 5 for broadcasting with `numeric_idx` fixture,
    which creates numeric-dtype vectors also of length 5.

    Examples
    --------
    arr = RangeIndex(5)
    arr / zeros
    Index([nan, inf, inf, inf, inf], dtype='float64')
    r   r
   s    r   zeror   *   s    " ==r   10m7sc                 ,    t        |       j                  S Ntype__name__xs    r   <lambda>r   H       $q'"" r   )r   idsc                     | j                   S )zV
    Several variants of Timedelta scalars representing 10 minutes and 7 seconds.
    r   r
   s    r   	scalar_tdr   B   s     ==r      H   )daysz72:00:00Dhc                 ,    t        |       j                  S r   r   r   s    r   r   r   Z   r   r   c                     | j                   S )za
    Several timedelta-like and DateOffset objects that each represent
    a 3-day timedelta
    r   r
   s    r   
three_daysr'   Q         ==r      x   )hoursi   )secondsmc                 ,    t        |       j                  S r   r   r   s    r   r   r   m   r   r   c                     | j                   S )zb
    Several timedelta-like and DateOffset objects that each represent
    a 2-hour timedelta
    r   r
   s    r   	two_hoursr0   d   r(   r         z23:00:00c                     | j                   S )zo
    Several timedelta-like and DateOffset instances that are _not_
    compatible with Daily frequencies.
    r   r
   s    r   	not_dailyr4   ~   s     ==r   )numpynppytestpandaspdr   fixturearrayint64r   uint64float64zerosextendr   	Timedeltato_pytimedeltato_timedelta64r   offsetsDayHourtimedelta64r'   Minuter0   	YearBegin
MonthBegin_common_mismatchr4   )box_clsr   s   00r   <module>rM      s       8288ARXX678 90 288RXX.	((BIIrzz2	 	 QC!G5!	!	
 E288CTUgtfqj

3U V RXXryy"**4UV5hbhhq&V W hbhht2::./ 0 ^  u . W,,.WW,,.
 	# 


q


!++-Z q#r3 	#

 





#1,,.X&q#sC  	#

 JJJJ!JJ  q#2--/Z 
 O	
 VVs   &=O6O<P