
    LVf                     <   d dl Zd dlZd dlmZmZ d dlmZ  ej                  ddg      d        Z
 ej                  g d      d        Z ej                  eeej
                  eeg      d        Z ej                  ej                  g d	z         d
        Zy)    N)SeriesarrayF)paramsc                     | j                   S )as  
    Valid values for the 'sort' parameter used in the Index
    setops methods (intersection, union, etc.)

    Caution:
        Don't confuse this one with the "sort" fixture used
        for DataFrame.append or concat. That one has
        parameters [True, False].

        We can't combine them as sort=True is not permitted
        in the Index setops methods.
    paramrequests    f/var/www/html/software/conda/envs/catlas/lib/python3.12/site-packages/pandas/tests/indexes/conftest.pysortr      s     ==    )
D3Dz-3DH2Hz-2HT2TSz-3Sc                     | j                   S )z_
    Valid values for 'freq' parameter used to create date_range and
    timedelta_range..
    r   r	   s    r   freq_sampler      s     ==r   c                     | j                   S )zB
    Types that may be passed as the indexer to searchsorted.
    r   r	   s    r   listlike_boxr   %   s    
 ==r   )objectcategoryzdatetime64[ns]ztimedelta64[ns]c                     | j                   S )z
    Dtypes that can be given to an Index with small positive integers.

    This means that for any dtype `x` in the params list, `Index([1, 2, 3], dtype=x)` is
    valid and gives the correct Index (sub-)class.
    r   r	   s    r   'any_dtype_for_small_pos_integer_indexesr   -   s      ==r   )numpynppytestpandasr   r   pandas._testing_testingtmfixturer   r   listtupler   ALL_REAL_NUMPY_DTYPESr    r   r   <module>r)      s       e}% &  RS T eRXXuf=> ? ##r   