o
    _~#g                     @   sx   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dd Z	ejdd Z
ejdd	 Zejdd	gdd
d ZdS )    N)Float32DtypeFloat64Dtype)paramsc                 C   s   |   S )z.Parametrized fixture returning a float 'dtype'param)request r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/pandas/tests/arrays/floating/conftest.pydtype   s   r
   c                 C   sF   t jttdddt jg ttddd t jg ddg | dS )zFFixture returning 'data' array according to parametrized float 'dtype'皙?g?   g#@g#@g      $@r
   )pdarraylistnparangeNAr   r   r   r	   data   s   r   c                 C   s   t jtjdg| dS )z`
    Fixture returning array with missing data according to parametrized float
    'dtype'.
    r   r   )r   r   r   nanr   r   r   r	   data_missing   s   r   c                 C   s    | 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   r   r   r	   all_data'   s
   

r   )numpyr   pytestpandasr   pandas.core.arrays.floatingr   r   fixturer
   r   r   r   r   r   r   r	   <module>   s    


