HOME


sh-3ll 1.0
DIR:/usr/local/lib64/python3.6/site-packages/pandas/tests/groupby/__pycache__/
Upload File :
Current File : //usr/local/lib64/python3.6/site-packages/pandas/tests/groupby/__pycache__/conftest.cpython-36.pyc
3

���ha
�@s8ddlZddlZddlmZmZddljZddl	m
Z
mZejdd��Z
ejdd��Zejdd	��Zejd
d��Zejdd
��Zejdd��Zejdd��Zejee
�d�dd��Zejee�d�dd��Zejee
�ee�d�dd��Zejddgd�dd��Zejddgd�dd��Zejddgd�dd ��ZdS)!�N)�	DataFrame�
MultiIndex)�reduction_kernels�transformation_kernelsc
Csntddddgdddggdddd	d	d
d
dddg
dd	d
dd	d	d
dd	d
g
gdd
gd�}ttjjdd�|dddgd�S)N�foo�barZbazZqux�one�two�threer����first�second)Zlevels�codes�names�
�A�B�C)�index�columns)rr�np�random�randn)r�r�?/tmp/pip-build-5_djhm0z/pandas/pandas/tests/groupby/conftest.py�mframe	s
.rc
CsBtddddddddgddddddddgtjjd�tjjd�d��S)Nrrrr	r
�)rrr�D)rrrrrrrr�dfs

r cCstj�S)N)�tmZmakeTimeSeriesrrrr�tssr"cCstj�S)N)r!ZgetTimeSeriesDatarrrr�tsd$sr#cCst|�S)N)r)r#rrr�tsframe)sr$c
CsLtddddddddgddddddddgtjjd�tjtjjd�dd�d	��S)
Nrrrr	r
rZfloat32)Zdtype)rrrr)rrrr�arrayrrrr�df_mixed_floats.s

r&cCsptdddddddddddgdddddddddddgdddddddddddgtjjd�tjjd�tjjd�d��S)	Nrrrr	ZdullZshiny�)rrrr�E�F)rrrrrrrr�three_group:sJ

r*)�paramscCs|jS)zT
    yields the string names of all groupby reduction functions, one at a time.
    )�param)�requestrrr�reduction_funclsr.cCs|jS)z@yields the string names of all groupby transformation functions.)r,)r-rrr�transformation_functsr/cCs|jS)z5yields both aggregation and transformation functions.)r,)r-rrr�groupby_funczsr0TFcCs|jS)z'parallel keyword argument for numba.jit)r,)r-rrr�parallel�sr1cCs|jS)z$nogil keyword argument for numba.jit)r,)r-rrr�nogil�sr2cCs|jS)z'nopython keyword argument for numba.jit)r,)r-rrr�nopython�sr3)ZnumpyrZpytestZpandasrrZpandas._testingZ_testingr!Zpandas.core.groupby.baserrZfixturerr r"r#r$r&r*�sortedr.r/r0r1r2r3rrrr�<module>s"

2