§
    Ù! hÅ  ã                   óŠ  — d dl Z d dlZd dlmZ d dlmZ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ej        d$efd%„¦   «         ZdS )&é    N)Ú_get_option)ÚSeriesÚoptionsc                  ó   — t           ‚)z3A fixture providing the ExtensionDtype to validate.©ÚNotImplementedError© ó    úYc:\xampp_lite_8_4\www\timesheet\venv\Lib\site-packages\pandas/tests/extension/conftest.pyÚdtyper      ó
   € õ Ðr
   c                  ó   — t           ‚)z�
    Length-100 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                 ób   — | j         s"| j        dk    st          j        | › d�¦  «         t          ‚)z‰
    Length-100 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      s<   € ð Ôð 7 ¤¨sÒ!2Ð!2õ 	Œ�uÐ5Ð5Ð5Ñ6Ô6Ð6å
Ðr
   c                  ó   — t           ‚)zLength-2 array with [NA, Valid]r   r	   r
   r   Údata_missingr   -   r   r
   r   r   )Úparamsc                 ó:   — | j         dk    r|S | j         dk    r|S dS )z5Parametrized fixture giving 'data' and 'data_missing'r   r   N©Úparam)Úrequestr   r   s      r   Úall_datar    3   s1   € ð „}˜ÒÐØˆØ	Œ˜.Ò	(Ð	(ØÐð 
)Ð	(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   ó8   •K  — t          | ¦  «        D ]}‰V — Œd S ©N)Úrange)ÚcountÚ_r   s     €r   Úgenzdata_repeated.<locals>.genL   s1   øè è € Ý�u‘”ð 	ð 	ˆAØˆJˆJˆJˆJð	ð 	r
   r	   )r   r'   s   ` r   Údata_repeatedr(   <   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*   S   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,   a   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_cmpr0   l   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   r2   r2   y   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_groupingr4   ƒ   s
   € õ Ðr
   TFc                 ó   — | j         S )z#Whether to box the data in a Seriesr   ©r   s    r   Úbox_in_seriesr7   ’   s   € ð Œ=Ðr
   c                 ó   — dS ©Né   r	   ©Úxs    r   ú<lambda>r=   š   ó   € �!€ r
   c                 ó(   — dgt          | ¦  «        z  S r9   )Úlenr;   s    r   r=   r=   ›   s   € �1�#�˜A™œ‘,€ r
   c                 óB   — t          dgt          | ¦  «        z  ¦  «        S r9   )r   r@   r;   s    r   r=   r=   œ   s   € •&˜!˜�s 1™vœv™Ñ&Ô&€ r
   c                 ó   — | S r#   r	   r;   s    r   r=   r=   �   r>   r
   )ÚscalarÚlistÚseriesÚobject)r   Úidsc                 ó   — | j         S )z,
    Functions to test groupby.apply().
    r   r6   s    r   Úgroupby_apply_oprI   ˜   s   € ð Œ=Ðr
   c                 ó   — | j         S )zU
    Boolean fixture to support Series and Series.to_frame() comparison testing.
    r   r6   s    r   Úas_framerK   ¨   ó   € ð
 Œ=Ðr
   c                 ó   — | j         S )zL
    Boolean fixture to support arr and Series(arr) comparison testing.
    r   r6   s    r   Ú	as_seriesrN   °   rL   r
   c                 ó   — | j         S )zd
    Boolean fixture to support comparison testing of ExtensionDtype array
    and numpy array.
    r   r6   s    r   Ú	use_numpyrP   ¸   ó   € ð Œ=Ðr
   ÚffillÚbfillc                 ó   — | j         S )z{
    Parametrized fixture giving method parameters 'ffill' and 'bfill' for
    Series.fillna(method=<method>) testing.
    r   r6   s    r   Úfillna_methodrU   Á   rQ   r
   c                 ó   — | j         S )zR
    Boolean fixture to support ExtensionDtype _from_sequence method testing.
    r   r6   s    r   Úas_arrayrW   Ê   rL   r
   c                 ó@   — t                                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.
    )rF   Ú__new__)r   s    r   Úinvalid_scalarrZ   Ò   s   € õ �>Š>�&Ñ!Ô!Ð!r
   Úreturnc                  óR   — t           j        j        du ot          dd¬¦  «        dk    S )z7
    Fixture to check if Copy-on-Write is enabled.
    Tzmode.data_manager)ÚsilentÚblock)r   ÚmodeÚcopy_on_writer   r	   r
   r   Úusing_copy_on_writera   Þ   s2   € õ 	ŒÔ" dÐ*ð 	EÝÐ+°DÐ9Ñ9Ô9¸WÒDðr
   )r.   r   Úpandas._config.configr   Úpandasr   r   Úfixturer   r   r   r   r    r(   r*   r,   r0   r2   r4   r7   rI   rK   rN   rP   rU   rW   rZ   Úboolra   r	   r
   r   ú<module>rf      se  ðØ €€€à €€€à -Ð -Ð -Ð -Ð -Ð -ðð ð ð ð ð ð ð ð „ðð ñ „ðð
 „ðð ñ „ðð „ðð ñ „ðð „ðð ñ „ðð
 €„˜ Ð/Ð0Ñ0Ô0ðð ñ 1Ô0ðð „ðð ñ „ðð, „ð
ð 
ñ „ð
ð „ðð ñ „ðð „ð	ð 	ñ „ð	ð „ðð ñ „ðð „ðð ñ „ðð €„˜˜e�}Ð%Ñ%Ô%ðð ñ &Ô%ðð
 €„àˆØÐØ&Ð&Øˆð	ð 	/Ð.Ð.ðñ ô ðð ñô ðð €„˜˜e�}Ð%Ñ%Ô%ðð ñ &Ô%ðð €„˜˜e�}Ð%Ñ%Ô%ðð ñ &Ô%ðð €„˜˜e�}Ð%Ñ%Ô%ðð ñ &Ô%ðð €„˜ Ð)Ð*Ñ*Ô*ðð ñ +Ô*ðð €„˜˜e�}Ð%Ñ%Ô%ðð ñ &Ô%ðð „ð"ð "ñ „ð"ð „ð˜Tð ð ð ñ „ðð ð r
   