o
    _~#gI                     @   s(   d dl Zd dlZd dlmZ dd ZdS )    Nc                  C   s   d} d}d}d}t jd| |f}t j|t jd| |k < t|}t jdjd|| d}||}|	 }dd |D }	tj
|	dd	}
|
j|jj|
_t||
 d S )
Ni        g?r   )sizec                 S   s    g | ]\}}|  |jqS  )skewto_frameT).0igrpr   r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/pandas/tests/groupby/methods/test_skew.py
<listcomp>   s     z1test_groupby_skew_equivalence.<locals>.<listcomp>)axis)nprandomdefault_rngstandard_normalnanpd	DataFrameintegersgroupbyr   concatindexastypedtypetmassert_frame_equal)nrowsngroupsncolsnan_fracarrdfgrpsgbresultgrpwiseexpectedr   r   r   test_groupby_skew_equivalence   s   

r)   )numpyr   pandasr   pandas._testing_testingr   r)   r   r   r   r   <module>   s    