U
    c                     @  s~  U d Z ddlmZ ddlZddlmZmZ ejdddG dd dZe	d	d
gZ
e	dddddddddddge
B Zee	ddddhB e	ddgB Zded< ee	ddgB Zded < e	d!d"d#d$d%gZe	d&d'dd(d)ddd*dd+d,d-d.d/d0d1dd2d3dd4d5d6gZd7d8d9d:Ze	d;d<d=d%d$d!d"dd>dd?d@dAdBd#dgZe	dCdDdEdFdddGddHdIdJdKdLdMd
dNdOdPdQdRd	dSdTdUddVdWdXgZeeB ZdS )Yz
Provide basic components for groupby. These definitions
hold the allowlist of methods that are exposed on the
SeriesGroupBy and the DataFrameGroupBy objects.
    )annotationsN)HashableLiteralT)orderfrozenc                   @  s   e Zd ZU ded< ded< dS )	OutputKeyr   labelintpositionN)__name__
__module____qualname____annotations__ r   r   </tmp/pip-unpacked-wheel-g7fro6k3/pandas/core/groupby/base.pyr      s   
r   ZplothistZquantileZfillnaZmadZtakeZidxmaxZidxminZtshiftZskewZcorrZcovZdiffnlargest	nsmallestZis_monotonic_increasingZis_monotonic_decreasingZdtypeuniquezfrozenset[str]series_apply_allowlistZdtypesZcorrwithdataframe_apply_allowlistZcumprodZcumsumshiftZcumminZcummaxallanycountfirstlastmaxZmeanZmedianminZnthZnuniqueprodZsemsizeZstdsumvarzLiteral[('bfill', 'ffill')])returnc                 C  s   | dkrd} n| dkrd} | S )Nbackfillbfillpadffillr   )kernelr   r   r   "maybe_normalize_deprecated_kernelsb   s
    r)   r$   r%   Zcumcountr'   Zngroupr&   Z
pct_changeZrankZaggZ	aggregateapplyZboxplotZdescribeZ	expandingZewmfilterZ	get_groupgroupsheadindicesndimZngroupsZohlcpipeZresampleZrollingtailZ	transformsampleZvalue_counts)__doc__
__future__r   Zdataclassestypingr   r   Z	dataclassr   	frozensetZplotting_methodsZcommon_apply_allowlistr   r   r   Zcythonized_kernelsZreduction_kernelsr)   Ztransformation_kernelsZgroupby_other_methodsZtransform_kernel_allowlistr   r   r   r   <module>   s   

%%