
    bMh                         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dS )
    N)Float32DtypeFloat64Dtype)paramsc                 *    |                                  S )z.Parametrized fixture returning a float 'dtype'param)requests    e/var/www/html/test/jupyter/venv/lib/python3.11/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      s     8RYsC%%&&5'	
ryC%%
&
&	' 5'	 +		
    r   c                 F    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     8RVSM////r   r   r   c                 :    | j         dk    r|S | j         dk    r|S dS )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   '   s1     }	.	(	( 
)	(r   )numpyr   pytestpandasr   pandas.core.arrays.floatingr   r   fixturer   r   r   r    r   r
   <module>r#      s                    l3444  54
 	 	 	 0 0 0 /000  10  r   