Ë
    ž…ju  ã                   ón  — d dl Z d dlZd dlmZ ej                  d„ «       Zej                  d„ «       Zej                  d„ «       Zej                  d„ «       Z ej                  ddg¬	«      d
„ «       Z	ej                  d„ «       Z
ej                  d„ «       Zej                  d„ «       Zej                  d„ «       Zej                  d„ «       Zej                  d„ «       Z ej                  ddg¬	«      d„ «       Z ej                  d„ d„ d„ d„ gg d¢¬«      d„ «       Z ej                  ddg¬	«      d„ «       Z ej                  ddg¬	«      d„ «       Z ej                  ddg¬	«      d„ «       Z ej                  ddg¬	«      d „ «       Z ej                  ddg¬	«      d!„ «       Zej                  d"„ «       Zy)#é    N)ÚSeriesc                  ó   — t         ‚)z3A fixture providing the ExtensionDtype to validate.©ÚNotImplementedError© ó    ú`/root/aria/tools/markitdown-venv/lib/python3.12/site-packages/pandas/tests/extension/conftest.pyÚdtyper
      ó
   € ô Ðr   c                  ó   — t         ‚)zŒ
    Length-10 array for this type.

    * data[0] and data[1] should both be non missing
    * data[0] and data[1] should not be equal
    r   r   r   r	   Údatar      ó
   € ô Ðr   c                 ót   — | j                   s'| j                  dk(  st        j                  | › d�«       t        ‚)zˆ
    Length-10 array in which all the elements are two.

    Call pytest.skip in your fixture if the dtype does not support divmod.
    Úmz is not a numeric dtype)Ú_is_numericÚkindÚpytestÚskipr   ©r
   s    r	   Údata_for_twosr      s4   € ð ×Ò §¡¨sÒ!2ô 	�‰�u�gÐ4Ð5Ô6ä
Ðr   c                  ó   — t         ‚)zLength-2 array with [NA, Valid]r   r   r   r	   Údata_missingr   (   r   r   r   r   )Úparamsc                 óH   — | j                   dk(  r|S | j                   dk(  r|S y)z5Parametrized fixture giving 'data' and 'data_missing'r   r   N©Úparam)Úrequestr   r   s      r	   Úall_datar   .   s,   € ð ‡}�}˜ÒØˆØ	�‰˜.Ò	(ØÐð 
)r   c                 ó   ‡ — ˆ fd„}|S )a  
    Generate many datasets.

    Parameters
    ----------
    data : fixture implementing `data`

    Returns
    -------
    Callable[[int], Generator]:
        A callable that takes a `count` argument and
        returns a generator yielding `count` datasets.
    c              3   ó6   •K  — t        | «      D ]  }‰–— Œ y ­w©N)Úrange)ÚcountÚ_r   s     €r	   Úgenzdata_repeated.<locals>.genG   s   øè ø€ Ü�u“ò 	ˆAØ‹Jñ	ùs   ƒr   )r   r%   s   ` r	   Údata_repeatedr&   7   s   ø€ ô ð €Jr   c                  ó   — t         ‚)zÆ
    Length-3 array with a known sort order.

    This should be three items [B, C, A] with
    A < B < C

    For boolean dtypes (for which there are only 2 values available),
    set B=C=True
    r   r   r   r	   Údata_for_sortingr(   N   s
   € ô Ðr   c                  ó   — t         ‚)z{
    Length-3 array with a known sort order.

    This should be three items [B, NA, A] with
    A < B and NA missing.
    r   r   r   r	   Údata_missing_for_sortingr*   \   r   r   c                  ó"   — t         j                  S )zÏ
    Binary operator for comparing NA values.

    Should return a function of two arguments that returns
    True if both arguments are (scalar) NA for your type.

    By default, uses ``operator.is_``
    )ÚoperatorÚis_r   r   r	   Úna_cmpr.   g   s   € ô �<‰<Ðr   c                 ó   — | j                   S )z 
    The scalar missing value for this type. Default dtype.na_value.

    TODO: can be removed in 3.x (see https://github.com/pandas-dev/pandas/pull/54930)
    )Úna_valuer   s    r	   r0   r0   t   s   € ð �>‰>Ðr   c                  ó   — t         ‚)zö
    Data for factorization, grouping, and unique tests.

    Expected to be like [B, B, NA, NA, A, A, B, C]

    Where A < B < C and NA is missing.

    If a dtype has _is_boolean = True, i.e. only 2 unique non-NA entries,
    then set C=B.
    r   r   r   r	   Údata_for_groupingr2   ~   s
   € ô Ðr   TFc                 ó   — | j                   S )z#Whether to box the data in a Seriesr   ©r   s    r	   Úbox_in_seriesr5   �   s   € ð �=‰=Ðr   c                  ó   — y©Né   r   ©Úxs    r	   ú<lambda>r;   •   s   � r   c                 ó    — dgt        | «      z  S r7   )Úlenr9   s    r	   r;   r;   –   s   € �1�#œ˜A›‘,€ r   c                 ó2   — t        dgt        | «      z  «      S r7   )r   r=   r9   s    r	   r;   r;   —   s   € ”&˜!˜œs 1›v™Ó&€ r   c                 ó   — | S r!   r   r9   s    r	   r;   r;   ˜   s   € �!€ r   )ÚscalarÚlistÚseriesÚobject)r   Úidsc                 ó   — | j                   S )z,
    Functions to test groupby.apply().
    r   r4   s    r	   Úgroupby_apply_oprF   “   s   € ð �=‰=Ðr   c                 ó   — | j                   S )zU
    Boolean fixture to support Series and Series.to_frame() comparison testing.
    r   r4   s    r	   Úas_framerH   £   ó   € ð
 �=‰=Ðr   c                 ó   — | j                   S )zL
    Boolean fixture to support arr and Series(arr) comparison testing.
    r   r4   s    r	   Ú	as_seriesrK   «   rI   r   c                 ó   — | j                   S )zd
    Boolean fixture to support comparison testing of ExtensionDtype array
    and numpy array.
    r   r4   s    r	   Ú	use_numpyrM   ³   ó   € ð �=‰=Ðr   ÚffillÚbfillc                 ó   — | j                   S )zl
    Parametrized fixture giving method parameters 'ffill' and 'bfill' for
    Series.<method> testing.
    r   r4   s    r	   Úfillna_methodrR   ¼   rN   r   c                 ó   — | j                   S )zR
    Boolean fixture to support ExtensionDtype _from_sequence method testing.
    r   r4   s    r	   Úas_arrayrT   Å   rI   r   c                 ó4   — t         j                  t         «      S )zØ
    A scalar that *cannot* be held by this ExtensionArray.

    The default should work for most subclasses, but is not guaranteed.

    If the array can hold any item (i.e. object dtype), then use pytest.skip.
    )rC   Ú__new__)r   s    r	   Úinvalid_scalarrW   Í   s   € ô �>‰>œ&Ó!Ð!r   )r,   r   Úpandasr   Úfixturer
   r   r   r   r   r&   r(   r*   r.   r0   r2   r5   rF   rH   rK   rM   rR   rT   rW   r   r   r	   ú<module>rZ      sB  ðÛ ã å ð ‡�ñó ðð
 ‡�ñó ðð ‡�ñó ðð ‡�ñó ðð
 €‡�˜ Ð/Ô0ñó 1ðð ‡�ñó ðð, ‡�ñ
ó ð
ð ‡�ñó ðð ‡�ñ	ó ð	ð ‡�ñó ðð ‡�ñó ðð €‡�˜˜e�}Ô%ñó &ðð
 €‡�áÙÙ&Ùð	ò 	/ôñóðð €‡�˜˜e�}Ô%ñó &ðð €‡�˜˜e�}Ô%ñó &ðð €‡�˜˜e�}Ô%ñó &ðð €‡�˜ Ð)Ô*ñó +ðð €‡�˜˜e�}Ô%ñó &ðð ‡�ñ"ó ñ"r   