+
    Ŝi                    @  a 0 t $ R t^ RIHt ^ RIHt ^ RIHtHtHtH	t	H
t
 ^ RIHt ^ RIt^ RIt^ RIt^ RIHtHt ^ RIt^ RIHtHt ^ RIt^ RIHt ^ RIt^ RIt^ R	IHt ^ RIH u H!t" ^ R
I#H$t$H%t% ^ RI&t'^ RI&H(t(H)t)H*t*H+t+H,t,H-t-H.t.H/t/H0t0H1t1H2t2H3t3 ^ RI4H5t6 ^ RI7H8t8 ^ RI9H:t:H;t; ]'       d   ^ RI<H=t=H>t>H?t?  ^ RI@tAAARtB]! RRR7      tDR R ltER tFR R ltGR R ltH]P                  P                  RRR^]P                  P                  ]P                  P                  3R7       ]P                  P                  R4       RP                  4        Fg  tP]Q! ]'P                  P                  ]P4      tT]P                  ! ]T]P                  ! ]T]P                  ! ERC^c4      ]P                  ! 4       R7      4       Ki  	  RP                  4        Fz  tP]Q! ]'P                  P                  ]P4      tT]P                  ! ]T]P                  ! ]T]P                  ! ERD^4      ]P                  ! 4       ]P                  ! ^^R 7      R!7      4       K|  	  R"P                  4        Fz  tP]Q! ]'P                  P                  ]P4      tT]P                  ! ]T]P                  ! ]T]P                  ! ERE^4      ]P                  ! 4       ]P                  ! ^^R 7      R#7      4       K|  	  ]P                  ! RR$7      R% R& l4       tZ]P                  ! RR$7      R' R( l4       t[]P                  ! . ERFOR* R+7      R, 4       t\]P                  ! RR.R-7      R. 4       t]]P                  ! . ERGOR-7      R/ 4       t^]P                  ! RR.R-7      R0 4       t_]P                  ! RR.R-7      R1 4       t`]P                  ! RR.R-7      R2 4       ta]P                  ! . ERHOR-7      R3 4       tb]P                  ! . ERIOR-7      R5 4       tc]P                  ! . ERJOR-7      R6 4       td]P                  ! . ERJOR-7      R7 4       te]P                  ! RR8R9R:R;R<]P                  ! R=]"P                  ! R>4      R?7      .R-7      R@ 4       th]P                  ! R8R9R:R;R<]P                  ! R=]"P                  ! R>4      R?7      .R-7      RA 4       ti]P                  ! RR.R-7      RB 4       tj]P                  ! . ERKOR-7      RC 4       tk]P                  ! RDRE.R-7      RF 4       tl]P                  ! RR.R-7      RG 4       tm]P                  ! RR.R-7      RH 4       tn]P                  ! . ERLOR-7      RI 4       to]P                  ! RR.R-7      RJ 4       tp]P                  ! RR.R-7      RK 4       tq]P                  ! RR.R-7      RL 4       tr]P                  ! R.R-7      RM 4       ts]P                  ! R.R-7      RN 4       tt]P                  ! ]6P                  RO R+7      RP 4       tv]vtw]P                  ! R]P                  ]'P                  .R-7      RQ 4       tz]zt{]P                  ! ]6P                  RR R+7      RS 4       t}]}t~]P                  ! ])]..R-7      RT 4       t]P                  ! ]:]..R)RU.R+7      RV 4       t]P                  ! ]:].]'EP                  .. ERMOR+7      RW 4       t]P                  ! ]:].])]'EP                  .RX R+7      RY 4       t]t]P                  RZ R[ l4       t]P                  R\ R] l4       t]P                  R^ 4       t]P                  R_ R` l4       t]P                  Ra Rb l4       tRc tRd t/ Re]:! ]! ^
4       U u. uF  p RfV  2NK
  	  up ]Rg7      bRh]:! ]! ^
4       U u. uF  p RfV  2NK
  	  up RiRg7      bRj]1! Rk^
Rl7      bRm]1! Rk^
RnRo7      bRp]2! Rk^
RqRr7      bRs]3! Rt^
RqRu7      bRv]-! ^
4      bRw]:! ]EP                  ! ^
4      RwRg7      bRx]:! ]EP                  ! ^
4      RxRg7      bRy]:! ]EP                  ! ^
4      RyRg7      bRz]:! ]EP                  ! ^
4      RzRg7      bR{]:! ]EP                  ! ^
4      R{Rg7      bR|]:! ]EP                  ! ^
4      R|Rg7      bR}]:! ]EP                  ! ^
4      R}Rg7      bR~]:! ]EP                  ! ^
4      R~Rg7      bR]:! ]EP                  ! ^
4      RRg7      bR]:! ]EP                  ! ^
4      RRg7      b/ R]:! RR.^,          ]Rg7      bR]:! RR.^,          ]Rg7      bR]:! ]EP                  ! ^
RRg7      R]EP                  ! ^
RRg7      ,          ,           4      bR]:! ]EP                  ! ^
RRg7      R]EP                  ! ^
RRg7      ,          ,           4      bR](! ]! R4      ^,          4      bR]+EP"                  ! ]EP$                  ! ^ ^d^R7      4      bR]:! . 4      bR];EP&                  ! ]! . ERNO. EROORR7      4      bR]! 4       bR]! 4       bR]:! . ERPO4      bR]:! ]EP                  ! ^
4      RRg7      bR]:! ]EP                  ! ^
4      RRg7      bR]:! ]EP                  ! ^
4      RRg7      bR]:! ]EP                  ! ^
4      EP+                  ]4      RRg7      bR]:! ]'EP                  ! ]! ^
4       U u. uF  p RfV  2NK
  	  up RRg7      4      bCt]B'       d:   ]:! ]'EP                  ! ]! ^
4       U u. uF  p RfV  2NK
  	  up RRg7      4      t]]R&   ]P                  ! ]EP1                  4       R-7      R 4       t]P                  ! ]EP5                  4        UUu. uF  w  r]! V];4      '       d   K  VNK  	  uppR-7      R 4       t]P                  ! ]EP5                  4        UUu. uF=  w  rVEP;                  ERQ4      '       d   K   VERR9   d   K*  ]! V];4      '       d   K;  VNK?  	  uppR-7      R 4       t]P                  R R l4       t]P                  R R l4       t]P                  R R l4       tR t]EP5                  4        UUu/ uF  w  r4RV R2]! V4      bK  	  uppt]P                  R R l4       t]6EPJ                   UU u/ uF=  pVEPL                   R2].! ]! ^4      ]! ^4       U u. uF  p RV  2NK
  	  up RVR7      bK?  	  up pt/ ]C]C]Ct]P                  ! ]EP1                  4       R-7      R 4       t]6EPT                   Uu/ uF  qUEPL                   R2].! V4      bK  	  upt/ ]C]C]C]Ct]P                  ! ]EP1                  4       R-7      R 4       t]P                  R R l4       t]P                  R R l4       t]P                  R R l4       t]P                  ! ]*! ^ ^R7      ]%! RzR44      3]*! RRR7      ]%! RR44      3],! RRR7      R3],! RRqR7      R3]0! RRR7      EPc                  R4      ]$! RRR7      3]/! RR7      R3.R-7      R 4       t]P                  ! ]6EPf                  R-7      R 4       t]P                  ! ]EPj                  ]8EPl                  ]EPn                  ]8EPp                  ]EPr                  ]8EPt                  ]EPv                  ]8EPx                  ]EPz                  ]8EP|                  ]EP~                  ]8EP                  ]EP                  ]8EP                  ]EP                  ]EP                  ]EP                  ]EP                  ]EP                  ]EP                  ]EP                  ]8EP                  ]EP                  ]8EP                  ]EP                  ]8EP                  .R-7      R 4       t]P                  ! ]EPj                  ]8EPl                  ]EPn                  ]8EPp                  ]EPr                  ]8EPt                  ]EPv                  ]8EPx                  ]EPz                  ]8EP|                  ]EP~                  ]8EP                  ]EP                  ]8EP                  .R-7      R 4       t. ERSOt]P                  ! ]R-7      R 4       tRR.t]P                  ! ]R-7      R 4       t]],           t]P                  ! ]R-7      R 4       t]P                  ! ]EP                  ]EP                  ]EP                  ]EP                  ]EP                  ]EP                  .R-7      R 4       t]P                  ! . ERTOR-7      R 4       t]P                  ! . ERUOR-7      R 4       t. ERVOt]P                  ! ]R-7      R 4       t]P                  R 4       t]P                  R R l4       tRRRRRRRRRR]! 4       ]! 4       ]
EP                  ]
! ]	! ^R7      4      ]
! ]	! ERWR7      RR7      .t]Deg   ]EP                  ]DEP                  R4      ]DEP                  ^ 4      ]DEP                  ERX4      ]DP                  Rn4      ]DP                  R4      34       ] U u. uF  p ]! V 4      NK  	  up t]"EP                  ! ]! ]4      4      ]P                  ! ]]R+7      R 4       4       t]"EP                  ! ]! ]R,          4      4      ]P                  ! ]R,          ]R,          R+7      R 4       4       tRR]! 4       ]
EP                  .t]De   ]EP                  ]DEP                  4       ]P                  ! ]R-7      R 4       t]t]P                  ! . ERYOR-7      R 4       t]t]P                  ! ]6EP                  R-7      R 4       t]P                  ! R]'EP                  3]P                  ! R]'EP                  3]"P                  ! R4      R?7      ]P                  ! R]P                  3]"P                  ! R4      R?7      R]P                  3.. ERZOR+7      R 4       t]P                  ! R]P                  ! R]"P                  ! R4      R?7      .R-7      R 4       t]P                  ! ]P                  ! R]P                  3]"P                  ! R4      R?7      ]P                  ! R]'EP                  3]"P                  ! R4      R?7      .R-7      R 4       t]P                  ! R]P                  ! R]"P                  ! R4      R?7      .R-7      R 4       t]P                  ! R]'EP                  3]P                  ! R]'EP                  3]"P                  ! R4      R?7      ]P                  ! R]P                  3]"P                  ! R4      R?7      R]P                  3.. ERZOR+7      R 4       t]P                  ! R]P                  ! R]"P                  ! R4      R?7      .R-7      R 4       t]t]t]P                  ! ]6EP                  R-7      R 4       t]P                  ! ]6EP                  R-7      R 4       t]P                  ! ]EP                  ! Re4      R]'EP                  3]P                  ! R]'EP                  3]"P                  ! R4      R?7      ]P                  ! R]P                  3]"P                  ! R4      R?7      R]P                  3.. ER[OR+7      R 4       t]t]P                  ! ]6EP                   R-7      R 4       Et]P                  ! ]6EP                  R-7      R 4       Et]P                  R R l4       Et]P                  ! ]6EP
                  R-7      R 4       Et]P                  ! ]6EP                  R-7      R 4       Et]P                  ! ]6EP                  R-7      R 4       Et
]P                  ! ]6EP                  R-7      R 4       Et]P                  ! ]6EP                  R-7      R 4       Et]P                  ! ]6EP                  R-7      ER  4       Et]P                  ! ]6EP"                  R-7      ER 4       Et]P                  ! ]6EP&                  R-7      ER 4       Et]P                  ! ]6EP*                  R-7      ER 4       Et]P                  ! ]6EP.                  R-7      ER 4       Et]P                  ! ]6EP*                  ]6EP                  ,           R-7      ER 4       Et]P                  ! ]6EP*                  ]6EP                  ,           ]6EP4                  ,           ]6EP6                  ,           R-7      ER 4       Et]P                  ! ]6EP:                  R-7      ER 4       Et]P                  ! ]6EP>                  R-7      ER 4       Et ]P                  ! ]6EPB                  R-7      ER	 4       Et"]P                  ! ]6EPF                  R-7      ER
 4       Et$]P                  ! ]6EPJ                  R-7      ER 4       Et&]P                  ! ]6EPN                  R-7      ER 4       Et(RhR]P                  ER.3RhR]'EP                  ER.3ERR]'P                  ER.3ERER]P                  ER.3R]P                  ]P                  ]P                  .3R. 3ERR]P                  ^.3ERR]P                  ER.3ERER]P                  ER.3ER^]P                  ^.3ER^]P                  ER.3ER]! ^4      ]P                  ]! ^4      .3RR]P                  R.3RR]'EP                  R.3ER]EPR                  ! ER4      ]P                  ]EPR                  ! ER4      .3Rj]0! ER4      ]P                  ]0! ER4      .3ER]! ER^^4      ]P                  ]! ER ^^4      .3ER!ER\]P                  ER].3Rs]	! ^4      ]P                  ]	! ^4      .3ER"]! ^4      ]P                  ]! ^4      .3Rp],! ER4      ]'P                  ],! ER 4      .3R]*! ^ ^4      ]P                  ]*! ^ ^4      .3.Et*E]* Uu. uF  qf^ ,          NK  	  upEt+]P                  ! E]*E]+R+7      ER# 4       Et,]P                  ER$ 4       Et-]P                  ER% 4       Et.]P                  ! ]'P                  EP^                   Uu. uFX  pE]0! ]Q! ]'P                  V4      ]'P                  EPb                  4      '       g   K;  VER&8w  g   KE  ]Q! ]'P                  V4      NKZ  	  upR-7      ER' 4       Et2]P                  ! RER( .R-7      ER) 4       Et3]P                  ! ER^ER_ER`]P                  ]P                  ]P                  3]P                  ]'P                  R3]P                  ]'EP                  R3]'EP                  ]'EP                  ]'EP                  3.R-7      ER* ER+ l4       Et4]P                  ! ]6EPj                  ]6EPl                  ]6EPn                  .R-7      ER, 4       Et8]P                  ! ]6EPl                  ]6EPn                  .R-7      ER- 4       Et9]P                  ! ]6EPj                  ]6EPn                  .R-7      ER. 4       Et:]P                  ! ]6EPj                  ]6EPl                  .R-7      ER/ 4       Et;]P                  ! ]6EPx                  ]6EPl                  .R-7      ER0 4       Et=]P                  ! ]6EP|                  ]6EPn                  .R-7      ER1 4       Et?]P                  ! RR.R-7      ER2 ER3 l4       Et@]P                  ER4 ER5 l4       EtA]P                  ER6 ER7 l4       EtBER8ER9.EtCER:E]DER;&   ]De$   E]CEP                  ]DP                  ER84      4       ]P                  ! E]CR-7      ER< ER= l4       EtE]P                  ER> 4       EtF]P                  ! ER?ER@7      ERA 4       EtG]P                  ! RR.R-7      ERB 4       EtHR#   ]C d    RtB ELGi ; iu up i u up i u up i u up i u uppi u uppi u uppi u up i u up pi u upi u up i u upi u upi (a  a  
This file is very long and growing, but it was decided to not split it yet, as
it's still manageable (2020-03-17, ~1.1k LoC). See gh-31989

Instead of splitting it was decided to define sections here:
- Configuration / Settings
- Autouse fixtures
- Common arguments
- Missing values & co.
- Classes
- Indices
- Series'
- DataFrames
- Operators & Operations
- Data sets/files
- Time zones
- Dtypes
- Misc
)annotations)abc)datedatetimetime	timedeltatimezone)DecimalN)TYPE_CHECKINGAny)tzlocaltzutc)
strategies)import_optional_dependency)DatetimeTZDtypeIntervalDtype)CategoricalIndex	DataFrameIntervalIntervalIndexPeriod
RangeIndexSeries	Timedelta	Timestamp
date_rangeperiod_rangetimedelta_range)ops)Index
MultiIndex)CallableHashableIteratorTFpytzignore)errorsc                   V ^8  d   QhRR/#    returnNone )formats   "X/Users/mibo/.openclaw/workspace/.venv-ak/lib/python3.14/site-packages/pandas/conftest.py__annotate__r/   h   s           c                .    V P                  R RRR7       R# )--no-strict-data-filesstore_falsez6Don't fail if a test is skipped for missing data file.)actionhelpN)	addoption)parsers   &r.   pytest_addoptionr8   h   s    
 E  r0   c                t   aa ^ RI p^ RIoVP                  P                  oVV3R lpW!P                  n        R# )    Nc                j   < SP                  V4      '       d   R VP                  9   d   R# S! WV4      # ).T)
isfunction__qualname__)selfmoduleobjectinspectorigs   &&&r.   _from_module)pytest_sessionstart.<locals>._from_modulez   s3    f%%#1D1D*D D&))r0   )doctestrB   DocTestFinderrD   )sessionrF   rD   rB   rC   s   &  @@r.   pytest_sessionstartrI   p   s/       --D* *6&r0   c               (    V ^8  d   QhRRRRRRRR/# )r)   itemzpytest.Itempathstrmessager*   r+   r,   )r-   s   "r.   r/   r/      s.     I I IC I# I$ Ir0   c                    V P                   P                  V4      '       d4   V P                  \        P                  P                  RV 24      4       R# R# )aR  Ignore doctest warning.

Parameters
----------
item : pytest.Item
    pytest test item.
path : str
    Module path to Python object, e.g. "pandas.DataFrame.append". A
    warning will be filtered when item.name ends with in given path. So it is
    sufficient to specify e.g. "DataFrame.append".
message : str
    Message to be filtered.
zignore:N)nameendswith
add_markerpytestmarkfilterwarnings)rK   rL   rN   s   &&&r.   ignore_doctest_warningrV      s@     yy$22WWI3FGH  r0   c                   V ^8  d   QhRR/# r(   r,   )r-   s   "r.   r/   r/      s     1< 1<D 1<r0   c                    VP                  R 4      ;'       g    VP                  RRR7      p. ROpV'       d#   V  F  pV F  w  rV\        WEV4       K  	  K  	  R# R# )z--doctest-modulesz--doctest-cythonF)defaultN))zapi.interchange.from_dataframe"The DataFrame Interchange Protocol)is_int64_dtypezis_int64_dtype is deprecated)is_interval_dtypezis_interval_dtype is deprecated)is_period_dtypezis_period_dtype is deprecated)is_datetime64tz_dtypez#is_datetime64tz_dtype is deprecated)is_categorical_dtypez"is_categorical_dtype is deprecated)	is_sparsezis_sparse is deprecated)z&CategoricalDtype._from_values_or_dtypezConstructing a Categorical)zDataFrame.__dataframe__rZ   )DataFrameGroupBy.fillnaz%DataFrameGroupBy.fillna is deprecated)zDataFrameGroupBy.corrwithz'DataFrameGroupBy.corrwith is deprecated)zNDFrame.replacezSeries.replace without 'value')zNDFrame.clipz4Downcasting behavior in Series and DataFrame methods)zSeries.idxminThe behavior of Series.idxmin)zSeries.idxmaxThe behavior of Series.idxmax)zSeriesGroupBy.fillnaz"SeriesGroupBy.fillna is deprecated)zSeriesGroupBy.idxminrb   )zSeriesGroupBy.idxmaxrc   )to_pytimedeltaz2The behavior of TimedeltaProperties.to_pytimedelta)zNDFrame.reindex_likez'keyword argument 'method' is deprecated)zmissing.mask_zero_div_zerozdivide by zero encountered)z!pandas.core.generic.NDFrame.firstzqfirst is deprecated and will be removed in a future version. Please create a mask and filter using `.loc` instead)zResampler.fillnaz+DatetimeIndexResampler.fillna is deprecated)ra   z3DataFrameGroupBy.fillna with 'method' is deprecated)read_parquetz1Passing a BlockManager to DataFrame is deprecated)	getoptionrV   )itemsconfig
is_doctestignored_doctest_warningsrK   rL   rN   s   &&     r.   pytest_collection_modifyitemsrk      sh    !!"56  &:J:JE ;K ;J% N D!9&t7; ":  r0   	pandas_ci)databasedeadlinemax_examplessuppress_health_checkz)MonthBegin MonthEnd BMonthBegin BMonthEnd)n	normalizez%YearBegin YearEnd BYearBegin BYearEnd)	min_value	max_value)rq   rr   monthz1QuarterBegin QuarterEnd BQuarterBegin BQuarterEnd)rq   rr   startingMonth)autousec                   V ^8  d   QhRR/# r(   r,   )r-   s   "r.   r/   r/     s     ! !d !r0   c                *    \         V R&   \        V R&   R# )z2
Make `np` and `pd` names available for doctests.
nppdN)rz   r{   )doctest_namespaces   &r.   add_doctest_importsr}     s    
 !d dr0   c                   V ^8  d   QhRR/# r(   r,   )r-   s   "r.   r/   r/     s     1 1 1r0   c                 4    \         P                  ! RR4       R# )z4
Configure settings for all tests and test modules.
chained_assignmentraiseN)r{   
set_optionr,   r0   r.   configure_testsr     s    
 MM&0r0   indexc                    R V : 2# )zaxis=r,   xs   &r.   <lambda>r     s
    5r0   )paramsidsc                    V P                   # )z8
Fixture for returning the axis numbers of a DataFrame.
paramrequests   &r.   axisr         
 ==r0   )r   c                    V P                   # )ai  
Pass in the observed keyword to groupby for [True, False]
This indicates whether categoricals should return values for
values which are not in the grouper [False / None], or only values which
appear in the grouper [True]. [None] is supported for future compatibility
if we decide to change the default (and would need to warn if this
parameter is not passed).
r   r   s   &r.   observedr          ==r0   c                    V P                   # )z.
Boolean 'ordered' parameter for Categorical.
r   r   s   &r.   orderedr   +  r   r0   c                    V P                   # )z
Boolean 'dropna' parameter.
r   r   s   &r.   dropnar   3  r   r0   c                    V P                   # )z
Boolean 'sort' parameter.
r   r   s   &r.   sortr   ;  r   r0   c                    V P                   # )z
Boolean 'skipna' parameter.
r   r   s   &r.   skipnar   C  r   r0   c                    V P                   # )zO
Valid values for the 'keep' parameter used in
.duplicated or .drop_duplicates
r   r   s   &r.   keepr   K       ==r0   rightc                    V P                   # )z9
Fixture for trying all interval 'inclusive' parameters.
r   r   s   &r.   inclusive_endpoints_fixturer   T  r   r0   c                    V P                   # )z4
Fixture for trying all interval closed parameters.
r   r   s   &r.   closedr   \  r   r0   c                    V P                   # )zK
Secondary closed fixture to allow parametrizing over all pairs of closed.
r   r   s   &r.   other_closedr   d  r   r0   gzipbz2zipxztarzstd	zstandard)marksc                    V P                   # )zC
Fixture for trying common compression types in compression tests.
r   r   s   &r.   compressionr   l       ==r0   c                    V P                   # )z_
Fixture for trying common compression types in compression tests excluding
uncompressed case.
r   r   s   &r.   compression_onlyr   ~  r   r0   c                    V P                   # )z$
Fixture that an array is writable.
r   r   s   &r.   writabler     r   r0   c                    V P                   # )z2
Fixture for trying all types of join operations.
r   r   s   &r.   	join_typer     r   r0   nlargest	nsmallestc                    V P                   # )z)
Fixture for trying all nselect methods.
r   r   s   &r.   nselect_methodr     r   r0   c                    V P                   # )z*
Fixture for 'na_action' argument in map.
r   r   s   &r.   	na_actionr     r   r0   c                    V P                   # )zB
Fixture for 'na_action' argument in sort_values/sort_index/rank.
r   r   s   &r.   	ascendingr     r   r0   c                    V P                   # )z&
Fixture for 'rank' argument in rank.
r   r   s   &r.   rank_methodr     r   r0   c                    V P                   # )z-
Fixture for 'as_index' argument in groupby.
r   r   s   &r.   as_indexr     r   r0   c                    V P                   # )z.
Fixture for 'cache' argument in to_datetime.
r   r   s   &r.   cacher     r   r0   c                    V P                   # )z6
Fixture for parallel keyword argument for numba.jit.
r   r   s   &r.   parallelr     r   r0   c                    V P                   # )z3
Fixture for nogil keyword argument for numba.jit.
r   r   s   &r.   nogilr     r   r0   c                    V P                   # )z6
Fixture for nopython keyword argument for numba.jit.
r   r   s   &r.   nopythonr     r   r0   c                ,    \        V 4      P                  # Ntype__name__r   s   &r.   r   r     s    d1g6F6Fr0   c                    V P                   # )z'
Fixture for each null type in pandas.
r   r   s   &r.   nulls_fixturer     r   r0   c                    V P                   # )zD
Fixture for each null type in pandas, each null type exactly once.
r   r   s   &r.   unique_nulls_fixturer     r   r0   c                ,    \        V 4      P                  # r   r   r   s   &r.   r   r     s    Q8H8Hr0   c                    V P                   # )z%
Fixture for each NaT type in numpy.
r   r   s   &r.   np_nat_fixturer     r   r0   c                    V P                   # )z3
Fixture to parametrize over DataFrame and Series.
r   r   s   &r.   frame_or_seriesr     r   r0   seriesc                    V P                   # )z
Fixture to parametrize over Index and Series, made necessary by a mypy
bug, giving an error:

List item 0 has incompatible type "Type[Series]"; expected "Type[PandasObject]"

See GH#29725
r   r   s   &r.   index_or_seriesr     r   r0   c                    V P                   # )z?
Fixture to parametrize over Index, Series, and ExtensionArray
r   r   s   &r.   index_or_series_or_arrayr   ,  r   r0   c                    V P                   # r   )r   r   s   &r.   r   r   4  s    1::r0   c                    V P                   # )zQ
Fixture to test behavior for Index, Series, DataFrame, and pandas Array
classes
r   r   s   &r.   box_with_arrayr   4  r   r0   c                   V ^8  d   QhRR/# )r)   r*   z
type[dict]r,   )r-   s   "r.   r/   r/   A  s     	 	z 	r0   c                 $     ! R R\         4      p V # )z$
Fixture for a dictionary subclass.
c                  "    ] tR tRtR R ltRtR# )"dict_subclass.<locals>.TestSubDictiF  c                   V ^8  d   QhRR/# r(   r,   )r-   s   "r.   r/   /dict_subclass.<locals>.TestSubDict.__annotate__G  s     	1 	1t 	1r0   c                	:    \         P                  ! V .VO5/ VB  R # r   )dict__init__)r?   argskwargss   &*,r.   r   +dict_subclass.<locals>.TestSubDict.__init__G  s    MM$000r0   r,   N)r   
__module__r>   __firstlineno__r   __static_attributes__r,   r0   r.   TestSubDictr   F  s    	1 	1r0   r   )r   )r   s    r.   dict_subclassr   @  s    1d 1 r0   c                   V ^8  d   QhRR/# )r)   r*   ztype[abc.Mapping]r,   )r-   s   "r.   r/   r/   N  s      #4 r0   c                 8     ! R R\         P                  4      p V # )z0
Fixture for a non-mapping dictionary subclass.
c                  @    ] tR tRtR R ltR tR R ltR R ltR	tR
# )5non_dict_mapping_subclass.<locals>.TestNonDictMappingiS  c                   V ^8  d   QhRR/# r(   r,   )r-   s   "r.   r/   Bnon_dict_mapping_subclass.<locals>.TestNonDictMapping.__annotate__T  s     	) 	)t 	)r0   c                	    Wn         R # r   _data)r?   underlying_dicts   &&r.   r   >non_dict_mapping_subclass.<locals>.TestNonDictMapping.__init__T  s    (Jr0   c                	8    V P                   P                  V4      # r   )r   __getitem__)r?   keys   &&r.   r   Anon_dict_mapping_subclass.<locals>.TestNonDictMapping.__getitem__W  s    ::))#..r0   c                   V ^8  d   QhRR/# )r)   r*   r#   r,   )r-   s   "r.   r/   r   Z  s     	) 	)h 	)r0   c                	6    V P                   P                  4       # r   )r   __iter__r?   s   &r.   r  >non_dict_mapping_subclass.<locals>.TestNonDictMapping.__iter__Z  s    ::&&((r0   c                   V ^8  d   QhRR/# )r)   r*   intr,   )r-   s   "r.   r/   r   ]  s     	( 	(S 	(r0   c                	6    V P                   P                  4       # r   )r   __len__r  s   &r.   r
  =non_dict_mapping_subclass.<locals>.TestNonDictMapping.__len__]  s    ::%%''r0   r   N)	r   r   r>   r   r   r   r  r
  r   r,   r0   r.   TestNonDictMappingr   S  s    	)	/	)	( 	(r0   r  )r   Mapping)r  s    r.   non_dict_mapping_subclassr  M  s    (S[[ ( r0   c            
        \        \        P                  P                  ^4      P	                  R4      \        \        R4      4      \        R^dRR7      R7      p V P                  R R R .4      P                  4       pVP                  P                  VP                  P                   Uu. uF  q"P                  R	4      NK  	  up4      Vn
        VP                  P                  . ROR
R7       V# u upi )zx
DataFrame with 3 level MultiIndex (year, month, day) covering
first 100 business days from 2000-01-01 with random data
ABCD
2000-01-01Bperiodsfreq)columnsr   c                    V P                   # r   )yearr   s   &r.   r   Amultiindex_year_month_day_dataframe_random_data.<locals>.<lambda>q  s    r0   c                    V P                   # r   )ru   r   s   &r.   r   r  q  s    177r0   c                    V P                   # r   )dayr   s   &r.   r   r  q  s    aeer0   i8T)inplace)d      )r  ru   r  )r   rz   randomdefault_rngstandard_normalr   listr   groupbysumr   
set_levelslevelsastype	set_names)tdfymdlevs      r.   /multiindex_year_month_day_dataframe_random_datar.  f  s     
		a 00:d6l#s=C
 ++'):OL
M
Q
Q
SC		$$#))BRBR%SBR3jj&6BR%STCIII0$?J &Ts   +C1c                   V ^8  d   QhRR/# )r)   r*   r    r,   )r-   s   "r.   r/   r/   y  s      z r0   c                 :    \        . RO. RO.. RO. RO.RR.R7      # )z3
2-level MultiIndex, lexsorted, with string names.
firstsecond)r(  codesnamesfoobarbazquxonetwothree)
r:   r:   r:      r>  r)   r)      r?  r?  )
r:   r>  r)   r:   r>  r>  r)   r:   r>  r)   )r    r,   r0   r.   %lexsorted_two_level_string_multiindexr@  x  s+    
 ,.EF-/MN! r0   c                   V ^8  d   QhRR/# r)   r*   r   r,   )r-   s   "r.   r/   r/     s     	 		r0   c           	         T p\        \        P                  P                  ^4      P	                  R4      V\        . RORR7      R7      # )z2DataFrame with 2 level MultiIndex with random dataexprP   r   r  )
   r?  )Ar  C)r   rz   r!  r"  r#  r   )r@  r   s   & r.    multiindex_dataframe_random_datarJ    s@    
 2E
		a 009oE2 r0   c                     \        . RO4      p \        RR.4      p\        P                  ! . RO4      p\        P                  ! . R	O4      pRR.p\        W.W#.VRR7      # )
zB
MultiIndex used to test the general functionality of this object
r;  r<  r1  r2  F)r(  r3  r4  verify_integrityr5  )r:   r:   r>  r)   r?  r?  )r:   r>  r:   r>  r:   r>  )r   rz   arrayr    )
major_axis
minor_axismajor_codesminor_codesindex_namess        r.   _create_multiindexrS    sd     34Ju~&J((-.K((-.KH%K'(	 r0   c            
     \    \         P                  ! ^^.RR.\        R^RR7      .. ROR7      # )z:
MultiIndex with a level that is a tzaware DatetimeIndex.
ab20130101
US/Easternr  tz)r4  r:  )r    from_productr   r,   r0   r.   _create_mi_with_dt64tz_levelr\    s5    
 ""
Q#sZ
A,OP% r0   rA   pandas_dtypestringrM   r   z
2020-01-01)r  zdatetime-tzz
US/PacificrY  periodDr  r   z1 day)startr  r  rangeint8int16int32int64uint8uint16uint32uint64float32float64zbool-object
bool-dtype	complex64y              ?
complex128categoricalabcdinterval)numemptytuplesr6  )strictmi-with-dt64tz-levelmultirepeatsnullable_intInt64nullable_uintUInt16nullable_floatFloat32nullable_boolbooleanzstring-pythonzstring[python]zstring[pyarrow]zstring-pyarrowc                P    \         V P                  ,          P                  RR7      # )z
Fixture for many "simple" kinds of indices.

These indices are unlikely to cover corner cases, e.g.
    - no names
    - no NaTs/NaNs
    - no values near implementation bounds
    - ...
Fdeep)indices_dictr   copyr   s   &r.   r   r     s!     &+++77r0   c                T    V P                   p\        V,          P                  RR7      # )z0
index fixture, but excluding MultiIndex cases.
Fr  )r   r  r  )r   r   s   & r.   
index_flatr    s&     --C!!u!--r0   c                h   \         V P                  ,          pV P                  R9   dU   VP                  4       pR.V^ ,          R,          O5V^ &   R.VR,          R,          O5VR&   \        P                  ! V4      # VP
                  P                  4       pRV^ &   RVR&   \        V4      ! VRR7      # )z
Fixture for indices with missing values.

Integer-dtype and empty cases are excluded because they cannot hold missing
values.

MultiIndex is excluded because isna() is not defined for MultiIndex.
Nr>  NNF)r  )rw  ry  rz  )r  r   tolistr    from_tuplesvaluesr  r   )r   indvalss   &  r.   index_with_missingr    s    ( w}}
%C}}CCzz|&$q'"+&Q(48B<(R%%d++zz QRCyE**r0   c                   V ^8  d   QhRR/# r)   r*   r   r,   )r-   s   "r.   r/   r/   "  s      v r0   c            
         \        \        P                  ! ^\        P                  R7      R,          \	        \        ^4       U u. uF  p RV  2NK
  	  up 4      RR7      # u up i )z;
Fixture for Series of floats with Index of unique strings
r^  g?i_r   r   rP   )r   rz   arangern  r   rd  is    r.   string_seriesr  !  sO    
 
		"BJJ'#-uRy1y!r!Xy12 1s   Ac                   V ^8  d   QhRR/# r  r,   )r-   s   "r.   r/   r/   .  s     C Cv Cr0   c                     \        ^4       U u. uF  p RV  2NK
  	  pp \        \        ^4       U u. uF  p RV  2NK
  	  up 4      p\        WR\        R7      # u up i u up i )zA
Fixture for Series of dtype object with Index of unique strings
foo_bar_objectsr   rP   r_  )rd  r   r   rA   )r  datar   s      r.   object_seriesr  -  s\    
 !&b	*	1d1#J	D*uRy1y!T!:y12E$)6BB +1s
   AAc                   V ^8  d   QhRR/# r  r,   )r-   s   "r.   r/   r/   8  s       r0   c            	         \        \        P                  P                  ^4      P	                  ^4      \        R^RR7      RR7      # )z1
Fixture for Series of floats with DatetimeIndex
r  r  r  tsr  )r   rz   r!  r"  r#  r   r,   r0   r.   datetime_seriesr  7  s=    
 
		a 004r< r0   c                    \        V 4      p\        P                  P                  ^4      P	                  V4      p\        W RRR7      # )zHelper for the _series dictrU  F)r   rP   r  )lenrz   r!  r"  r#  r   )r   sizer  s   &  r.   _create_seriesr  C  s9    u:D99  #33D9D$#E::r0   zseries-with-z-indexc                   V ^8  d   QhRR/# r  r,   )r-   s   "r.   r/   r/   Q  s     ! !v !r0   c                    \        V 4      # )z=
Fixture for tests on series with changing types of indices.
)r  r   s   &r.   series_with_simple_indexr  P  s    
 %  r0   z-serieszi-rU  r  c                P    \         V P                  ,          P                  RR7      # )zp
Fixture for tests on indexes, series and series with a narrow dtype
copy to avoid mutation, e.g. setting .name
Fr  )_index_or_series_objsr   r  r   s   &r.   index_or_series_objr  c  s!     !/44%4@@r0   c                P    \         V P                  ,          P                  RR7      # )z
Fixture for tests on indexes, series, series with a narrow dtype and
series with empty objects type
copy to avoid mutation, e.g. setting .name
Fr  )_index_or_series_memory_objsr   r  r   s   &r.   index_or_series_memory_objr  y  s!     (6;;;GGr0   c                   V ^8  d   QhRR/# rB  r,   )r-   s   "r.   r/   r/     s     
 
9 
r0   c            
         \        \        P                  ! R\        P                  R7      \	        \        ^4       U u. uF  p RV  2NK
  	  up 4      \	        \        R4      4      R7      # u up i )z^
Fixture for DataFrame of ints with index of unique strings

Columns are ['A', 'B', 'C', 'D']
r^  r  r  rF     r   )r   rz   onesrh  r   rd  r$  r  s    r.   	int_framer    sS     
rxx(r3AtA3Z34d6l# 3s   A*c                   V ^8  d   QhRR/# rB  r,   )r-   s   "r.   r/   r/     s     
 
Y 
r0   c            
         \        \        P                  P                  ^4      P	                  R4      \        \        ^4       U u. uF  p RV  2NK
  	  up 4      \        \        R4      4      R7      # u up i )za
Fixture for DataFrame of floats with index of unique strings

Columns are ['A', 'B', 'C', 'D'].
r  r  rF  r  )r   rz   r!  r"  r#  r   rd  r$  r  s    r.   float_framer    s^     
		a 009r3AtA3Z34d6l# 3s   A2c                   V ^8  d   QhRR/# r  r,   )r-   s   "r.   r/   r/     s     U U& Ur0   c                 z   \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      \        R^^4      .
p \        \        P                  P	                  ^4      P                  \        V 4      4      V R7      # )z>
Fixture for Series with a DatetimeIndex that has duplicates.
i  r  )r   r   rz   r!  r"  r#  r  )datess    r.   (rand_series_with_duplicate_datetimeindexr    s     	q!q!q!q!q!q!q!q!q!q!E "))''*::3u:FeTTr0   )leftr   g?g      ?z2012-01M)r  z	period[M]z
2012-02-01z	period[D]z
2011-01-01rX  )rZ  s)unitrZ  i  )secondsztimedelta64[us]c                    V P                   # )z3
Fixture that tests each scalar and datetime type.
r   r   s   &r.   ea_scalar_and_dtyper        " ==r0   c                    V P                   # )z<
Fixture for dunder names for common arithmetic operations.
r   r   s   &r.   all_arithmetic_operatorsr    r   r0   c                    V P                   # )zM
Fixture for operator and roperator arithmetic, comparison, and logical ops.
r   r   s   &r.   all_binary_operatorsr        D ==r0   c                    V P                   # )z
Fixture for operator and roperator arithmetic functions.

Notes
-----
This includes divmod and rdivmod, whereas all_arithmetic_operators
does not.
r   r   s   &r.   all_arithmetic_functionsr     s    6 ==r0   c                    V P                   # )z&
Fixture for numeric reduction names.
r   r   s   &r.   all_numeric_reductionsr  .  r   r0   allanyc                    V P                   # )z&
Fixture for boolean reduction names.
r   r   s   &r.   all_boolean_reductionsr  9  r   r0   c                    V P                   # )z6
Fixture for all (boolean + numeric) reduction names.
r   r   s   &r.   all_reductionsr  D  r   r0   c                    V P                   # )z3
Fixture for operator module comparison functions.
r   r   s   &r.   comparison_opr  L       ==r0   c                    V P                   # )zU
Fixture for dunder names for compare operations except == and !=

* >=
* >
* <
* <=
r   r   s   &r.   compare_operators_no_eq_ner  ]  r   r0   c                    V P                   # )zE
Fixture for dunder names for common logical operations

* |
* &
* ^
r   r   s   &r.   all_logical_operatorsr  j       ==r0   c                    V P                   # )z(
Fixture for numeric accumulation names
r   r   s   &r.   all_numeric_accumulationsr  {  r   r0   c                $    V P                  R4      # )zJ
Returns the configuration for the test setting `--no-strict-data-files`.
r2   )rf   )pytestconfigs   &r.   strict_data_filesr    s    
 !!":;;r0   c                    V ^8  d   QhRRRR/# )r)   r  rM   r*   zCallable[..., str]r,   )r-   s   "r.   r/   r/     s       (: r0   c                   a a \         P                  P                  \         P                  P                  \        4      R4      oVV 3R lpV# )a  
Get the path to a data file.

Parameters
----------
path : str
    Path to the file, relative to ``pandas/tests/``

Returns
-------
path including ``pandas/tests``.

Raises
------
ValueError
    If the path doesn't exist and the --no-strict-data-files option is not set.
testsc                    < \         P                  P                  ! S.V O5!  p\         P                  P                  V4      '       g2   S'       d   \	        R V R24      h\
        P                  ! RV R24       V# )zCould not find file z' and --no-strict-data-files is not set.zCould not find r<   )osrL   joinexists
ValueErrorrS   skip)r   rL   	BASE_PATHr  s   * r.   decodatapath.<locals>.deco  sf    ww||I--ww~~d##  *4&0WX  KK/$q12r0   )r  rL   r  dirname__file__)r  r  r  s   f @r.   datapathr    s2    & RWW__X6@I Kr0   UTCz
Asia/Tokyozdateutil/US/Pacificzdateutil/Asia/Singaporez+01:15z-02:15z	UTC+01:15z	UTC-02:15)hoursrE  i,  c                    V P                   # )z<
Fixture for trying timezones including default (None): {0}
r   r   s   &r.   tz_naive_fixturer    r   r0   r  c                    V P                   # )z,
Fixture for trying explicit timezones: {0}
r   r   s   &r.   tz_aware_fixturer    r   r0   utczdateutil/UTCc                    V P                   # )zI
Fixture to provide variants of UTC timezone strings and tzinfo objects.
r   r   s   &r.   utc_fixturer    r   r0   c                    V P                   # )z
datetime64 units we support.
r   r   s   &r.   r  r    r   r0   c                    V P                   # )z>
Parametrized fixture for string dtypes.

* str
* 'str'
* 'U'
r   r   s   &r.   string_dtyper         ==r0   pythonpyarrowc                J    V P                   w  r\        P                  ! W4      # )z
Parametrized fixture for string dtypes.
* 'string[python]' (NA variant)
* 'string[pyarrow]' (NA variant)
* 'str' (NaN variant, with pyarrow)
* 'str' (NaN variant, without pyarrow)
)r   r{   StringDtyper   storagena_values   &  r.   string_dtype_no_objectr    s    0  G>>',,r0   c                    V P                   # )zQ
Parametrized fixture for string dtypes.

* 'string[python]'
* 'string[pyarrow]'
r   r   s   &r.   nullable_string_dtyper  *       ==r0   c                >    \         P                  ! V P                  !  # )za
Parametrized fixture for string dtypes backed by Pyarrow.

* 'str[pyarrow]'
* 'string[pyarrow]'
)r{   r  r   r   s   &r.   pyarrow_string_dtyper  :  s     >>7==))r0   c                    V P                   # zR
Parametrized fixture for pd.options.mode.string_storage.

* 'python'
* 'pyarrow'
r   r   s   &r.   string_storager  J  r  r0   c                    V P                   # )zy
Parametrized fixture for StringDtype storage and na_value.

* 'python' + pd.NA
* 'pyarrow' + pd.NA
* 'pyarrow' + np.nan
r   r   s   &r.   string_dtype_argumentsr  Z  s    , ==r0   numpy_nullablec                    V P                   # r  r   r   s   &r.   dtype_backendr  s  r  r0   c                    V P                   # )z;
Parametrized fixture for bytes dtypes.

* bytes
* 'bytes'
r   r   s   &r.   bytes_dtyper         ==r0   c                    V P                   # )z>
Parametrized fixture for object dtypes.

* object
* 'object'
r   r   s   &r.   object_dtyper    r  r0   c                    \        V P                  \        P                  4      '       d   V P                  # V P                  w  r\        P
                  ! W4      # )z
Parametrized fixture for string dtypes.
* 'object'
* 'string[python]' (NA variant)
* 'string[pyarrow]' (NA variant)
* 'str' (NaN variant, with pyarrow)
* 'str' (NaN variant, without pyarrow)
)
isinstancer   rz   r_  r{   r  r  s   &  r.   any_string_dtyper     s@    2 '--**}} $MM~~g00r0   c                    V P                   # )zL
Parametrized fixture for datetime64 dtypes.

* 'datetime64[ns]'
* 'M8[ns]'
r   r   s   &r.   datetime64_dtyper"    r  r0   c                    V P                   # )zN
Parametrized fixture for timedelta64 dtypes.

* 'timedelta64[ns]'
* 'm8[ns]'
r   r   s   &r.   timedelta64_dtyper$    r  r0   c                   V ^8  d   QhRR/# )r)   r*   r   r,   )r-   s   "r.   r/   r/     s      i r0   c            
     &    \        R^^^^^^R7      # )z%
Fixture emits fixed Timestamp.now()
i  )r  ru   r  hourminuter2  microsecond)r   r,   r0   r.   fixed_now_tsr*    s     
 1RR r0   c                    V P                   # )zJ
Parameterized fixture for float dtypes.

* float
* 'float32'
* 'float64'
r   r   s   &r.   float_numpy_dtyper,    r  r0   c                    V P                   # )zB
Parameterized fixture for float dtypes.

* 'Float32'
* 'Float64'
r   r   s   &r.   float_ea_dtyper.    r  r0   c                    V P                   # )zb
Parameterized fixture for float dtypes.

* float
* 'float32'
* 'float64'
* 'Float32'
* 'Float64'
r   r   s   &r.   any_float_dtyper0    r  r0   c                    V P                   # )zS
Parameterized fixture for complex dtypes.

* complex
* 'complex64'
* 'complex128'
r   r   s   &r.   complex_dtyper2    r  r0   c                    V P                   # )z
Parameterized fixture for complex and numpy float dtypes.

* complex
* 'complex64'
* 'complex128'
* float
* 'float32'
* 'float64'
r   r   s   &r.   complex_or_float_dtyper4    s     ==r0   c                    V P                   # )z`
Parameterized fixture for signed integer dtypes.

* int
* 'int8'
* 'int16'
* 'int32'
* 'int64'
r   r   s   &r.   any_signed_int_numpy_dtyper6  #  r  r0   c                    V P                   # )z`
Parameterized fixture for unsigned integer dtypes.

* 'uint8'
* 'uint16'
* 'uint32'
* 'uint64'
r   r   s   &r.   any_unsigned_int_numpy_dtyper8  1  r   r0   c                    V P                   # )z
Parameterized fixture for any integer dtype.

* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
r   r   s   &r.   any_int_numpy_dtyper:  >  r   r0   c                    V P                   # )z
Parameterized fixture for any nullable integer dtype.

* 'UInt8'
* 'Int8'
* 'UInt16'
* 'Int16'
* 'UInt32'
* 'Int32'
* 'UInt64'
* 'Int64'
r   r   s   &r.   any_int_ea_dtyper<  P  r  r0   c                    V P                   # )z
Parameterized fixture for any nullable integer dtype.

* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
* 'UInt8'
* 'Int8'
* 'UInt16'
* 'Int16'
* 'UInt32'
* 'Int32'
* 'UInt64'
* 'Int64'
r   r   s   &r.   any_int_dtyper>  a  s    . ==r0   c                    V P                   # )z
Parameterized fixture for any nullable integer dtype and
any float ea dtypes.

* 'UInt8'
* 'Int8'
* 'UInt16'
* 'Int16'
* 'UInt32'
* 'Int32'
* 'UInt64'
* 'Int64'
* 'Float32'
* 'Float64'
r   r   s   &r.   any_numeric_ea_dtyper@  {  r  r0   c                    V P                   # )a~  
Parameterized fixture for any nullable integer dtype and
any float ea dtypes.

* 'UInt8'
* 'Int8'
* 'UInt16'
* 'Int16'
* 'UInt32'
* 'Int32'
* 'UInt64'
* 'Int64'
* 'Float32'
* 'Float64'
* 'uint8[pyarrow]'
* 'int8[pyarrow]'
* 'uint16[pyarrow]'
* 'int16[pyarrow]'
* 'uint32[pyarrow]'
* 'int32[pyarrow]'
* 'uint64[pyarrow]'
* 'int64[pyarrow]'
* 'float32[pyarrow]'
* 'float64[pyarrow]'
r   r   s   &r.   any_numeric_ea_and_arrow_dtyperB    s    @ ==r0   c                    V P                   # )zf
Parameterized fixture for any signed nullable integer dtype.

* 'Int8'
* 'Int16'
* 'Int32'
* 'Int64'
r   r   s   &r.   any_signed_int_ea_dtyperD    r   r0   c                    V P                   # )z
Parameterized fixture for any (purely) real numeric dtype.

* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
* float
* 'float32'
* 'float64'
r   r   s   &r.   any_real_numpy_dtyperF    s    $ ==r0   c                    V P                   # )z
Parameterized fixture for any (purely) real numeric dtype.

* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
* float
* 'float32'
* 'float64'

and associated ea dtypes.
r   r   s   &r.   any_real_numeric_dtyperH    s    ( ==r0   c                    V P                   # )aT  
Parameterized fixture for all numpy dtypes.

* bool
* 'bool'
* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
* float
* 'float32'
* 'float64'
* complex
* 'complex64'
* 'complex128'
* str
* 'str'
* 'U'
* bytes
* 'bytes'
* 'datetime64[ns]'
* 'M8[ns]'
* 'timedelta64[ns]'
* 'm8[ns]'
* object
* 'object'
r   r   s   &r.   any_numpy_dtyperJ    r  r0   c                    V P                   # )a  
Parameterized fixture for all real dtypes that can hold NA.

* float
* 'float32'
* 'float64'
* 'Float32'
* 'Float64'
* 'UInt8'
* 'UInt16'
* 'UInt32'
* 'UInt64'
* 'Int8'
* 'Int16'
* 'Int32'
* 'Int64'
* 'uint8[pyarrow]'
* 'uint16[pyarrow]'
* 'uint32[pyarrow]'
* 'uint64[pyarrow]'
* 'int8[pyarrow]'
* 'int16[pyarrow]'
* 'int32[pyarrow]'
* 'int64[pyarrow]'
* 'float[pyarrow]'
* 'double[pyarrow]'
r   r   s   &r.   any_real_nullable_dtyperL    s    : ==r0   c                    V P                   # )a9  
Parameterized fixture for all numeric dtypes.

* int
* 'int8'
* 'uint8'
* 'int16'
* 'uint16'
* 'int32'
* 'uint32'
* 'int64'
* 'uint64'
* float
* 'float32'
* 'float64'
* complex
* 'complex64'
* 'complex128'
* 'UInt8'
* 'Int8'
* 'UInt16'
* 'Int16'
* 'UInt32'
* 'Int32'
* 'UInt64'
* 'Int64'
* 'Float32'
* 'Float64'
r   r   s   &r.   any_numeric_dtyperN  2  s    > ==r0   cmixedbytes   a   czmixed-integerg       @floatingg      ?integerzmixed-integer-floatdecimal
datetime64z
2013-01-01z
2018-01-01rW  20180101r   i  i  complexr   c                \    V P                   w  r\        P                  ! V\        R7      pW3# )a  
Fixture for all inferred dtypes from _libs.lib.infer_dtype

The covered (inferred) types are:
* 'string'
* 'empty'
* 'bytes'
* 'mixed'
* 'mixed-integer'
* 'mixed-integer-float'
* 'floating'
* 'integer'
* 'decimal'
* 'boolean'
* 'datetime64'
* 'datetime'
* 'date'
* 'timedelta'
* 'time'
* 'period'
* 'interval'

Returns
-------
inferred_dtype : str
    The string for the inferred dtype from _libs.lib.infer_dtype
values : np.ndarray
    An array of object dtype that will be inferred to have
    `inferred_dtype`

Examples
--------
>>> from pandas._libs import lib
>>>
>>> def test_something(any_skipna_inferred_dtype):
...     inferred_dtype, values = any_skipna_inferred_dtype
...     # will pass
...     assert lib.infer_dtype(values, skipna=True) == inferred_dtype
r^  )r   rz   rM  rA   )r   inferred_dtyper  s   &  r.   any_skipna_inferred_dtyper\  u  s,    R %]]NXXfF+F !!r0   c                     \         P                  ! RRR7       ^ RIHp  ^ RIHp V! 4       pRVP                  n        V ! VR7      # )z^
Get an instance of IPython.InteractiveShell.

Will raise a skip if IPython is not installed.
IPythonz6.0.0)
minversion)InteractiveShell)Configz:memory:)rh   )rS   importorskipIPython.core.interactiveshellr`  traitlets.configra  HistoryManager	hist_file)r`  ra  rO  s      r.   iprg    s<     	g6> (A!+A1%%r0   c               #    "   \         P                  ! R4      p \         P                  ! R4      p\         P                  ! R4      pVP                  P                  4       p V P	                  4       ;_uu_ 4        V P                  R4       Rx  RRR4       VP                  P                  4        VP                  P                  V4       VP                  R4       \        P                  ! ^4       R#   + '       g   i     Ln; i  TP                  P                  4        TP                  P                  T4       TP                  R4       \        P                  ! ^4       i ; i5i)a  
Ensure Matplotlib is cleaned up around a test.

Before a test is run:

1) Set the backend to "template" to avoid requiring a GUI.

After a test is run:

1) Reset units registry
2) Reset rc_context
3) Close all figures

See matplotlib/testing/decorators.py#L24.

matplotlibzmatplotlib.unitszmatplotlib.pyplottemplateNr  )rS   rb  registryr  
rc_contextuseclearupdateclosegccollect)mpl	mpl_unitspltorig_units_registrys       r.   mpl_cleanuprw    s     " 

l
+C##$67I


1
2C#,,113	^^GGJ  	  "!!"56		%


1  	  "!!"56		%


1s8   AE( D 8C4D AE(4D	?D AE%%E(Tickc                    V P                   # )zF
Fixture for Tick based datetime offsets available for a time series.
r   r   s   &r.   tick_classesrz    r  r0   c                    V # r   r,   r   s   &r.   r   r     s    r0   c                    V P                   # )z_
Simple fixture for testing keys in sorting methods.
Tests None (no key) and the identity key.
r   r   s   &r.   sort_by_keyr}    r   r0   c                   V ^8  d   QhRR/# )r)   r*   z#tuple[Hashable, Hashable, Hashable]r,   )r-   s   "r.   r/   r/     s      9 r0   c                    V P                   # )zH
A 3-tuple of names, the first two for operands, the last for a result.
r   r   s   &r.   r4  r4    s      ==r0   c                    V P                   # )zA
Parametrize over __setitem__, loc.__setitem__, iloc.__setitem__
r   r   s   &r.   indexer_slir    r   r0   c                    V P                   # )z4
Parametrize over loc.__getitem__, iloc.__getitem__
r   r   s   &r.   
indexer_lir    r   r0   c                    V P                   # )z0
Parametrize over __setitem__, iloc.__setitem__
r   r   s   &r.   
indexer_sir    r   r0   c                    V P                   # )z/
Parametrize over __setitem__, loc.__setitem__
r   r   s   &r.   
indexer_slr    r   r0   c                    V P                   # )z2
Parametrize over at.__setitem__, loc.__setitem__
r   r   s   &r.   
indexer_alr  &  r   r0   c                    V P                   # )z4
Parametrize over iat.__setitem__, iloc.__setitem__
r   r   s   &r.   indexer_ialr  .  r   r0   c                   V ^8  d   QhRR/# )r)   r*   zIterator[bool | type[Warning]]r,   )r-   s   "r.   r/   r/   7  s     G G$B Gr0   c              #     "   \         P                  ! RV P                  4      ;_uu_ 4        V P                  '       d   \         P                  P                  MRx  RRR4       R#   + '       g   i     R# ; i5i)z
Fixture to check if performance warnings are enabled. Either produces
``PerformanceWarning`` if they are enabled, otherwise ``False``.
zmode.performance_warningsFN)r{   option_contextr   r&   PerformanceWarningr   s   &r.   performance_warningr  6  sH      
		6	F	F.5mmmbii**F 
G	F	F	Fs   *A;1A'
A;'A8	2	A;c                   V ^8  d   QhRR/# r)   r*   boolr,   )r-   s   "r.   r/   r/   A  s     2 2D 2r0   c                 N    \         P                  P                  P                  RJ # )z5
Fixture to check if infer string option is enabled.
T)r{   optionsfutureinfer_stringr,   r0   r.   using_infer_stringr  @  s    
 ::))T11r0   c                   V ^8  d   QhRR/# r  r,   )r-   s   "r.   r/   r/   I  s     4 4d 4r0   c                 N    \         P                  P                  P                  R J # )T)r{   r  r  python_scalarsr,   r0   r.   using_python_scalarsr  H  s    ::++t33r0   zEurope/Warsawzdateutil/Europe/Warsawz	list[Any]_warsawsc                   V ^8  d   QhRR/# )r)   r*   rM   r,   )r-   s   "r.   r/   r/   S  s      s r0   c                    V P                   # )z=
tzinfo for Europe/Warsaw using pytz, dateutil, or zoneinfo.
r   r   s   &r.   warsawr  R  r   r0   c                p    V \        \        P                  ! 4       4      ,          pVP                  4        V# )z
Generate a unique file for testing use. See link for removal policy.
https://docs.pytest.org/en/7.1.x/how-to/tmp_path.html#the-default-base-temporary-directory
)rM   uuiduuid4touch)tmp_path	file_paths   & r.   	temp_filer  Z  s)     3tzz|,,IOOr0   rH   )scopec               #     "   \         P                  P                  4       ;_uu_ 4       p V x  R R R 4       R #   + '       g   i     R # ; i5ir   )rS   MonkeyPatchcontext)mps    r.   monkeysessionr  e  s/     				#	#	%	% 
&	%	%	%s   'A8
AA			Ac              #     "   V P                   p\        P                  ! R V'       * 4      ;_uu_ 4        Vx  RRR4       R#   + '       g   i     R# ; i5i)zfuture.distinguish_nan_and_naN)r   r{   r  )r   opts   & r.   using_nan_is_nar  k  s8     
--C			:G	D	D	 
E	D	D	Ds   1AA
AA		Aii)r:   r>  r   r  )TFN)r1  lastF)bothneitherr  r   )r  r   r  r  )innerouterr  r   )averageminmaxr1  dense)r   r   rM  )r6  r7  r8  )r>  r)   r?  )r:   r:   r>  r>  r)   r)   )r  uintfloat)rd  rv  r{  ro  )countr&  r  r  meanprodstdvarmediankurtskewsem)__le____lt____ge____gt__)__and____rand____or____ror____xor____rxor__)cumsumcumprodcummincummaxr  i)r  msusns)string=string[python]string=string[pyarrow]string=str[pyarrow]string=str[python])zstring=objectr  r  r  r  y      ?      ?y       @       @)r6  NN)EgonVenkmanN)NCC1701Dr  r  (I  __conditional_annotations____doc__
__future__r   collectionsr   r   r   r   r   r   rV  r	   rq  operatorr  typingr
   r   r  dateutil.tzr   r   
hypothesisr   stnumpyrz   rS   pandas.compat._optionalr   pandas.util._test_decoratorsutil_test_decoratorstdpandas.core.dtypes.dtypesr   r   pandasr{   r   r   r   r   r   r   r   r   r   r   r   r   pandas._testing_testingtmpandas.corer   pandas.core.indexes.apir   r    collections.abcr!   r"   r#   r  pahas_pyarrowImportErrorr$   r8   rI   rV   rk   settingsregister_profileHealthChecktoo_slowdiffering_executorsload_profilesplitrP   getattrtseriesoffsetsclsregister_type_strategybuildsintegersbooleansfixturer}   r   r   r   r   r   r   r   r   r   r   r   r   
skip_if_nor   r   r   r   r   r   r   r   r   r   r   r   r   NULL_OBJECTSr   nulls_fixture2nanNaTr   unique_nulls_fixture2NP_NAT_OBJECTSr   np_nat_fixture2r   r   rM  r   r   box_with_array2r   r  r.  r@  rJ  rS  r\  rd  rA   r  r  r$  from_breakslinspacer  r   r)  r  idxkeysr   rg   r  r  
startswithr  r  r  r  r  _seriesr  NARROW_NP_DTYPESr   _narrow_seriesr  r  PYTHON_DATA_TYPES_typ_objects_seriesr  r  r  r  r  as_unitr  arithmetic_dunder_methodsr  addraddsubrsubmulrmultruedivrtruedivfloordiv	rfloordivmodrmodpowrpoweqneltlegtgeand_rand_xorrxoror_ror_r  r  _all_numeric_reductionsr  _all_boolean_reductionsr  _all_reductionsr  r  r  r  _all_numeric_accumulationsr  r  r  r  	TIMEZONESextendFixedOffsetreprTIMEZONE_IDSparametrize_fixture_docrM   r  r  _UTCSappendr  utc_fixture2r  unit2STRING_DTYPESr  NAr  r  r  r  r  r  string_storage2string_dtype_arguments2BYTES_DTYPESr  OBJECT_DTYPESr  r_  r   any_string_dtype2DATETIME64_DTYPESr"  TIMEDELTA64_DTYPESr$  r*  FLOAT_NUMPY_DTYPESr,  FLOAT_EA_DTYPESr.  ALL_FLOAT_DTYPESr0  COMPLEX_DTYPESr2  COMPLEX_FLOAT_DTYPESr4  SIGNED_INT_NUMPY_DTYPESr6  UNSIGNED_INT_NUMPY_DTYPESr8  ALL_INT_NUMPY_DTYPESr:  ALL_INT_EA_DTYPESr<  ALL_INT_DTYPESr>  r@  ALL_INT_PYARROW_DTYPES_STR_REPRFLOAT_PYARROW_DTYPES_STR_REPRrB  SIGNED_INT_EA_DTYPESrD  ALL_REAL_NUMPY_DTYPESrF  ALL_REAL_DTYPESrH  ALL_NUMPY_DTYPESrJ  ALL_REAL_NULLABLE_DTYPESrL  ALL_NUMERIC_DTYPESrN  rW  _any_skipna_inferred_dtyper   r\  rg  rw  __all__
issubclassrx  rz  r}  r4  setitemlocilocr  r  r  r  atr  iatr  r  r  r  r  __annotations__r  r  r  r  )	r  r   valueindex_idr   r_  pairor  s	   00000000@r.   <module>rm     s  ( #    	  	   '   > ) )
      
   	K!&:6,I$1<l    $ $''22 % 	        - 8==?D
"**$$d
+CRYYsbkk#r2bkkmL @ 499;D
"**$$d
+C
		kk"a kkm++R8		
 < @EEGD
"**$$d
+C
		kk#r"kkm++R@		
 H( ! ! 1 1 17NO P e}%	 &	 *+ , e}% & e}% & e}% & /0 1 ;< = ;< = ;< = V2==#=>

 V2==#=>		 e}% & :; < 
K01 2 h'( ) e}% & BC D e}% & e}% & e}% & w   v  r,FG H  bffbff-. / -  r((.HI J ! 	6*+ , vWh,?@	 A	 vrxx06RS T vy"((;AUV W ! 	 	  0  "   	 	(*eE"I6Iqwqc]I6fE*eE"I6Iqwqc]I6eD* 
<4* :lB<H	*
 l<#>* wE* Z^* E"))B-v.* U299R=0* U299R=0* U299R=0* U299R=0* eBIIbM2* eBIIbM2* eBIIbM2*  uRYYr])4!*" uRYYr])4#*$ 5$*&9%*& %u)6'*( 
		"K(4"))Bk2R+RR)*. %
		"L)D299R|3T,TT/*4 #DL1$455*6 ))"++a"*EF7*8 U2Y9*: j$$!9T:;*@ 8:A*B !C*D u'(E*F E"))B-w7G*H U299R=9I*J eBIIbM;K*L U299R=//5YGM*N U
r3AGA3-3;KLO*V 
r;AGA3-;CTU
VC%(L!" |((*+8 ,8 *0022
*UJ:W2
.
.  ',,..JCNN34 	 AA	 	 5*- 	.
+
+4   C C  ; (--// 8*F#^E%::/ ! ! $$	 % ~~gb	E"I6IqBqc(I6S!  %	 F<E7EnE  ,1134A 5A <>;O;O;O%~~gu-;O 
      	   388:;H <H 
 
 
 
 U U. 	q	"M'7$CD	s#	&i(IJ			$k2	3	'5l|4<<SA6	
 
3	!23
 r334 5 		5<=< $	%$	   ./ 0 !%.  ./ 0 *,CC ' ( 		 ?@	 A	 N G  12 3 < <  J 			GILLYQ YR u-	" S!QT"MM,'MM% 	
 "++AQ+ C-.yl3 4 / CR 012y},r*:; < 3 
6	LL u   ./ 0 	 r''( ) 	255i'r}}Y/GHi(i0HI	266		-- &bmmI.FG i(i0HIi'r}}Y/GH** YbmmI&>? 	255i'r}}Y/GHi(i0HI	266		 YbmmI&>? !0  r' ( r''( ) 
	255i'r}}Y/GHi(i0HI	266	 1! 1$ %  r++, - r,,- .   r,,- . r))* + r**+
 ,
 r(() * r../ 0 r112
 3
 r334	 5	 r../ 0" r++, -  r(() *2 r++b.@.@@A B* (() 	&&': r../	 0	 r//0 1( r))* +, r**+! ,!H r223 4> r,,- .F RVVS!"RUUC !sBFFC !tRVVT"#rvvrvvrvv&'bMsBFFA&'sBFFC !#rvvs#$BFFAQ,-RVVWQZ01rvvu%&ruue$%BMM,/|9TUV)J':1FGHd4AT1a(89:() 9Q<167d1grvvtAw'(tbfffTl34(1a."&&(1a.9:3 8 32GG2
 1s;," <,"d & &$  @  ###Agbjj!,bjjoo> 	CD; 	

A# k*+ , !,	 			ruu	 

BFFBGG45 6 () * 

BGG,- . 

BFF+, - rvv' ( () * e}%G &G 2 2 4 4 '(@A) AOODMM/23 x  !   i  !
 e}% &g@  Kp 76L 4 <(Z  7(D ,DZs   7A9 B@	B@+B@)B@B@
)B@
B@#
 B@#

B@#
B@#
B@)'B@4.B@/<B@4B@:IB@?pBAr8BA	sBA	s!BA	9	B@@B@@/B@4