§
    ªöÉg  ã                   ó@  — d dl m Z  d dlZd dlZd dlmZmZ g d¢ZddgZdgZ	eez   e	z   Z
 ej        e¬¦  «        d	„ ¦   «         Z ej        e
¬¦  «        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„ ¦   «         Zej        d„ ¦   «         Zej        d„ ¦   «         Zej        d„ ¦   «         Zej        d„ ¦   «         Zej        d„ ¦   «         ZdS )é    ©ÚdatetimeN)Ú	DataFrameÚSeries)ÚminÚmaxÚfirstÚlastÚsumÚmeanÚsemÚmedianÚprodÚvarÚstdÚohlcÚquantileÚcountÚsizeÚnunique)Úparamsc                 ó   — | j         S )z:Fixture for parametrization of Grouper downsample methods.©Úparam©Úrequests    új/var/www/html/nodeJS/PythonScripts/venv3.11/lib/python3.11/site-packages/pandas/tests/resample/conftest.pyÚdownsample_methodr       ó   € ð Œ=Ðó    c                 ó   — | j         S )z8Fixture for parametrization of Grouper resample methods.r   r   s    r   Úresample_methodr"   &   r   r    c                  ó$   — t          ddd¦  «        S )ú7Fixture for parametrization of index, series and frame.éÕ  é   r   © r    r   Ú_index_startr(   ,   s   € õ �D˜!˜QÑÔÐr    c                  ó$   — t          ddd¦  «        S )r$   r%   r&   é
   r   r'   r    r   Ú
_index_endr+   2   s   € õ �D˜!˜RÑ Ô Ð r    c                  ó   — dS )r$   ÚDr'   r'   r    r   Ú_index_freqr.   8   s	   € ð ˆ3r    c                  ó   — dS )r$   Nr'   r'   r    r   Ú_index_namer0   >   s	   € ð ˆ4r    c                 ó    —  | ||||¬¦  «        S )za
    Fixture for parametrization of date_range, period_range and
    timedelta_range indexes
    )ÚfreqÚnamer'   )Ú_index_factoryr(   r+   r.   r0   s        r   Úindexr5   D   s   € ð ˆ>˜,¨
¸È;ÐWÑWÔWÐWr    c                 óD   — t          j        t          | ¦  «        ¦  «        S )z¢
    Fixture for parametrization of values used in parametrization of
    Series and DataFrames with date_range, period_range and
    timedelta_range indexes
    )ÚnpÚarangeÚlen©r5   s    r   Ú_static_valuesr;   M   s   € õ Œ9•S˜‘Z”ZÑ Ô Ð r    c                  ó   — dS )z‚
    Fixture for parametrization of Series name for Series used with
    date_range, period_range and timedelta_range indexes
    Nr'   r'   r    r   Ú_series_namer=   W   s	   € ð ˆ4r    c                 ó&   — t          || |¬¦  «        S )zm
    Fixture for parametrization of Series with date_range, period_range and
    timedelta_range indexes
    )r5   r3   )r   ©r5   r=   r;   s      r   Úseriesr@   `   s   € õ �.¨°LÐAÑAÔAÐAr    c                 ó   — | dd…         S )zs
    Fixture for parametrization of empty Series with date_range,
    period_range and timedelta_range indexes
    Nr   r'   )r@   s    r   Úempty_series_dtirB   i   s   € ð �"�1�"Œ:Ðr    c                 ó(   — t          d|i| ¬¦  «        S )zp
    Fixture for parametrization of DataFrame with date_range, period_range
    and timedelta_range indexes
    Úvaluer:   )r   r?   s      r   ÚframerE   r   s   € õ �g˜~Ð.°eÐ<Ñ<Ô<Ð<r    c                 ó@   — | j         dd…         }t          |¬¦  «        S )zv
    Fixture for parametrization of empty DataFrame with date_range,
    period_range and timedelta_range indexes
    Nr   r:   )r5   r   )r@   r5   s     r   Úempty_frame_dtirG   |   s%   € ð ŒL˜˜!˜Ô€EÝ˜5Ð!Ñ!Ô!Ð!r    c                 ó:   — | t           k    r|S | t          k    r|S dS )z{
    Fixture for parametrization of Series and DataFrame with date_range,
    period_range and timedelta_range indexes
    N)r   r   )Úframe_or_seriesr@   rE   s      r   Úseries_and_framerJ   †   s,   € ð �&Ò Ð ØˆØ�)Ò#Ð#Øˆð $Ð#r    )r   Únumpyr7   ÚpytestÚpandasr   r   Údownsample_methodsÚupsample_methodsÚseries_methodsÚresample_methodsÚfixturer   r"   r(   r+   r.   r0   r5   r;   r=   r@   rB   rE   rG   rJ   r'   r    r   ú<module>rS      sO  ðØ Ð Ð Ð Ð Ð à Ð Ð Ð Ø €€€ðð ð ð ð ð ð ð ðð ð Ð ð ˜VÐ$Ð Ø�€Ø%Ð(8Ñ8¸>ÑIÐ ð €„Ð)Ð*Ñ*Ô*ðð ñ +Ô*ðð
 €„Ð'Ð(Ñ(Ô(ðð ñ )Ô(ðð
 „ð ð  ñ „ð ð
 „ð!ð !ñ „ð!ð
 „ðð ñ „ðð
 „ðð ñ „ðð
 „ðXð Xñ „ðXð „ð!ð !ñ „ð!ð „ðð ñ „ðð „ðBð Bñ „ðBð „ðð ñ „ðð „ð=ð =ñ „ð=ð „ð"ð "ñ „ð"ð „ðð ñ „ðð ð r    