gL i ddlZddlZddlZddlmZej dejdejgdZ eejejfDcgc]8}ejejejfD]}|dgdz|:c}}Z e jeejfDcgc]}|dgdzejc}e jejejejfDcgc]}ejd|c}e jejdejge jgd ej e d Zej ejd j!ejd ejd j#gd dZej ej&j)dej&j+dejdj!ejdej,ddej,ddgd dZej ej&j+dej&j1dejdj!ejdej,ddej,ddgd dZej&j5dej&j7dej&j1gZej ej,ddejd j!ejd!gezd"Zycc}}wcc}wcc}w)#N)Index)dtype)paramsc|jS)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') paramrequests f/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pandas/tests/arithmetic/conftest.pyoner s( ==)rgrc|jS)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') rr s r zeror*s" ==r10m7sc,t|jSNtype__name__xs r rH$q'""r)ridsc|jS)zV Several variants of Timedelta scalars representing 10 minutes and 7 seconds. rr s r scalar_tdrBs ==rH)daysz72:00:00Dhc,t|jSrrrs r rrZrrc|jS)za Several timedelta-like and DateOffset objects that each represent a 3-day timedelta rr s r three_daysr'Q ==rx)hoursi )secondsmc,t|jSrrrs r rrmrrc|jS)zb Several timedelta-like and DateOffset objects that each represent a 2-hour timedelta rr s r two_hoursr0dr(rz23:00:00c|jS)zo Several timedelta-like and DateOffset instances that are _not_ compatible with Daily frequencies. rr s r not_dailyr4~s ==r)numpynppytestpandaspdrfixturearrayint64r uint64float64zerosextendr Timedeltato_pytimedeltato_timedelta64roffsetsDayHour timedelta64r'Minuter0 YearBegin MonthBegin_common_mismatchr4)box_clsrs00r rMs 8288ARXX67890288RXX. ((BIIrzz2   QC!G5! !   E288CT Ugtfqj 3 UV RXXryy"**4U V5hbhhq& VW hbhht2::. /0 ^u. W,,. W W,,.  #  q  !++- Z q#r3   #    # 1,,. X&q#sC   #  JJJJ!JJq# 2--/ Z     O  V Vs&=O6O<P