
    Owg                     j   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y)    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    U/var/www/horilla/myenv/lib/python3.12/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                       y)r$   Dr'   r'   r    r   _index_freqr.   8   s     r    c                       y)r$   Nr'   r'   r    r   _index_namer0   >   s     r    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Wr    c                 >    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     99SZ  r    c                       y)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     r    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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                 8    | 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     LL!E5!!r    c                 0    | t         k(  r|S | t        k(  r|S y)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      s       V$ %(88>I  )* +
 '( )
    
 ! !
  
  
 X X ! !   B B   = = " "  r    