U
    +if                     @  st  U d Z ddlmZ ddlZddl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/d0d1d2dd3d4dd5d6d7gZd8d9 Zed:d;d<d%d$d!d"dd=dd>d?d@d#dgZedAdBdCdDdddEddFdGdHdIdJdKd
dLdMdNdOdPd	dQdRdSddTdUdVgZeeB ZdS )Wz
Provide basic components for groupby. These definitions
hold the allowlist of methods that are exposed on the
SeriesGroupBy and the DataFrameGroupBy objects.
    )annotationsN)HashableT)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   K/home/mars/bis/venv/lib/python3.8/site-packages/pandas/core/groupby/base.pyr      s   
r   ZplothistZquantileZfillnaZmadZtakeZidxmaxZidxminZtshiftZskewZcorrZcov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ngroupZnthZnuniqueprodZsemsizeZstdsumvarc                 C  s   | dkrd} n| dkrd} | S )Nbackfillbfillpadffillr   )Zkernelr   r   r   "maybe_normalize_deprecated_kernels`   s
    r'   r#   r$   Zcumcountr&   r%   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   dataclassestypingr   	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   

&%