
    Owg                         d dl Zd dlZd dlZd dlmZmZ  ej                  eeg      d        Z	ej                  d        Z
ej                  d        Z ej                  ddg      d	        Zy)
    N)Float32DtypeFloat64Dtype)paramsc                 "    | j                         S )z.Parametrized fixture returning a float 'dtype'param)requests    \/var/www/horilla/myenv/lib/python3.12/site-packages/pandas/tests/arrays/floating/conftest.pydtyper      s     ==?    c           
          t        j                  t        t        j                  ddd            t         j
                  gz   t        t        j                  ddd            z   t         j
                  gz   ddgz   |       S )zFFixture returning 'data' array according to parametrized float 'dtype'皙?g?   g#@g#@g      $@r   )pdarraylistnparangeNAr   s    r
   datar      su     88RYYsC%&55'	
ryyC%
&	' 55'	 +		
  r   c                 P    t        j                  t        j                  dg|       S )z`
    Fixture returning array with missing data according to parametrized float
    'dtype'.
    r   r   )r   r   r   nanr   s    r
   data_missingr      s     88RVVSM//r   r   r   c                 H    | j                   dk(  r|S | j                   dk(  r|S y)zParametrized fixture returning 'data' or 'data_missing' float arrays.

    Used to test dtype conversion with and without missing values.
    r   r   Nr   )r	   r   r   s      r
   all_datar   '   s,     }}	.	( 
)r   )numpyr   pytestpandasr   pandas.core.arrays.floatingr   r   fixturer   r   r   r    r   r
   <module>r#      s       l34 5
 	 	 0 0 /0 1r   