+
    xȇij!                     f    R t ^ RIt^ RIt^ RIHtHt ^ RIHtHtH	t	 ^ RI
HtHt R tR tR tR tR# )	z
Tests of the groupby API, including internal consistency and with other pandas objects.

Tests in this file should only check the existence, names, and arguments of groupby
methods. It should not test the results of any groupby operation.
N)	DataFrameSeries)groupby_other_methodsreduction_kernelstransformation_kernels)DataFrameGroupBySeriesGroupByc                    V P                  R R7      p\        V4       Uu0 uF  q"P                  R4      '       d   K  VkK  	  pp0 RkRkRkRkRkRkR	kR
kRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkRkR kR!kR"kR#kR$kR%kR&kR'kR(kR)kR*kR+kR,kR-kR.kR/kR0kR1kR2kR3kR4kR5kR6kR7kR8kR9kR:kR;kR<kR=kR>kR?kR@kRAkRBkRCkpW48X  g   Q hRD# u upi )Esecond)level_ABCagg	aggregateapplyboxplotfilterfirst	get_groupgroupshistindiceslastmaxmeanmedianminngroupsnthohlcplotprodsizestdsum	transformvarsemcountnuniqueheaddescribecummaxquantilerankcumprodtailresamplecummincumsumcumcountngroupallshiftskewkurttake
pct_changeanycorrcorrwithcovndimdiffidxmaxidxminffillbfillrolling	expandingpipesampleewmvalue_countsN)groupbydir
startswith) multiindex_dataframe_random_datagrpvresultsexpecteds   &    m/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/groupby/test_api.pytest_tab_completionrW      s`   
*
2
2
2
BCc(<(Q,,s*;qq(G<BBB 	B 		B
 	B 	B 	B 	B 	B 	B 	B 	B 	B 	B 	B  	!B" 	#B$ 	%B& 	'B( 	)B* 	+B, 	-B. 	/B0 	1B2 	3B4 	5B6 	7B8 	9B: 	;B< 	=B> 	?B@ 	ABB 	CBD 	EBF 	GBH 	IBJ 	KBL 	MBN 	OBP 	QBR 	SBT 	UBV 	WBX 	YBZ 	[B\ 	]B^ 	_B` 	aBb 	cBd 	eBf 	gBh 	iBj 	kBl 	mBn 	oBp 	qBr 	sBt 	uBv 	wBx 	yBz 	{B| 	}B~ 	B@ 	ABB 	CBHF I =s
   CCc                    V P                  V P                  R,          4      p\        V4       Uu0 uF  q"P                  R4      '       d   K  VkK  	  up\	        V P
                  4      ,
          p\	        V4      pV\        ,          pV\        ,          pV\        ,          p\        \        ,          '       d   Q h\        \        ,          '       d   Q h\        \        ,          '       d   Q hV'       d   RV R2p\        V4      h\        \        ,          \        ,          pW68w  d   RWc,
           R2p\        V4      hR# u upi )NNNr   z?
There are uncategorized methods defined on the Grouper class:
aG  .

Was a new method recently added?

Every public method On Grouper must appear in exactly one the
following three lists defined in pandas.core.groupby.base:
- `reduction_kernels`
- `transformation_kernels`
- `groupby_other_methods`
see the comments in pandas/core/groupby/base.py for guidance on
how to fix this test.
        zI
Some methods which are supposed to be on the Grouper class
are missing:
z.

They're still defined in one of the lists that live in pandas/core/groupby/base.py.
If you removed a method, you should update them
N)rY       )
rN   ilocrO   rP   setcolumnsr   r   r   AssertionError)rQ   rR   r   names	new_namesmsgall_categorizeds   &      rV   test_all_methods_categorizedrc   d   s1   
*
2
2(--d3C C:1S(9QQ:S(00> E E
I""I''I&&I #99999 #88888%(===== 
 	 S!! (*@@CXXO    S!!  A ;s   EEc                 t   V R9   d   Rp\         P                  ! VR7       V R9   d   \        \        V 4      '       d   Q hR# \	        \        V 4      p\	        \
        V 4      p\        \        P                  ! V4      P                  4      pV R8X  d   R0pM)\        \        P                  ! V4      P                  4      p\        4       \        4       rvV R9   d   0 RmpMV R9   d   RR0pMV R9   d   R0pM|V R9   d
   RR0p0 RmpMlV R9   d
   RR0pR	R
0pM\V R9   d   RR0pMPV R9   d   0 RmpMDV R9   d   0 RmpM8V R9   d   RR0pM,V R9   d   R0pM!V R9   d   R0pMV R9   d   RR0pM
V R 9   d   R0pV R!9  d   VR0,          pWG,          V8X  g   Q hWV,          V8X  g   Q hWG,          pWV,          pWE8X  g   Q hR# )"r   z0first and last don't exist for DataFrame anymore)reasonNr$   selfkwargsaxisnumeric_onlyengineengine_kwargsskipnamethodmin_periodsr   r   )r6   r7   r>   r8   >   rh   rg   	bool_only)r*   )r+   r   r   >   rj   	min_countrk   r&   r   r%   r(   r   r#   r)   rG   rF   >   rh   inplace
limit_arear.   r4   >   argsrh   rl   r1   r5   r=   r0   r/   )r@   )r=   r$   )
pytestskiphasattrr   getattrr   r\   inspect	signature
parameters)groupby_funcra   frame_method	gb_methodresultrU   exclude_expectedexclude_results   &       rV   test_frame_consistencyr      s   ((@3--9l33339l3L(,7I""9-889Fv8w((6AAB (+ucen~%:		#*F3		%"8		'"H-A	6	6"H-"O4	2	2"H-	+	+<	-	-5	.	."H-		($:		"*+		&$f-		%)?11VH$ "n444&*::::
F H    c                 N   VR9   d   Rp\         P                  ! V4       VR9   d   \        \        V4      '       d   Q hR# \	        \        V4      p\	        \
        V4      p\        \        P                  ! V4      P                  4      pVR8X  d   R0pM)\        \        P                  ! V4      P                  4      p\        4       \        4       rVR9   d   0 RmpMVR9   d
   RR0p0 RmpMqVR9   d
   RR0pRR0pMaVR9   d   RR0pMUVR9   d   0 RmpMIVR9   d	   R	R
0pR0pM:VR9   d   R	0pR0pM,VR9   d   R0pM!VR9   d   R0pMVR9   d   R
R0pM
VR9   d   R0pVR9  d   VR0,          pWX,          V8X  g   Q hWg,          V8X  g   Q hWX,          pWg,          pWV8X  g   Q hR# )r   z-first and last don't exist for Series anymoreNr$   rf   rg   rh   rj   rk   rl   rz   ri   ro   )r6   r@   r7   rp   >   rh   rg   rq   rr   >   rj   rs   rk   rt   ru   rv   >   rh   rw   rx   ry   r{   r|   r}   )rE   rD   r~   )rC   r=   r*   r+   r/   r$   )
r   r   r   r   r   r   r\   r   r   r   )	requestr   ra   series_methodr   r   rU   r   r   s	   &&       rV   test_series_consistencyr      s   ((=C996<0000FL1M|4I""9-889Fv8w((7BBC (+ucen~%:		'"H-A	6	6"H-"O4	2	2"H-	+	+<	-	-$f-()	.	.$:()		($:		"*+	-	-"H-		&()   	VH$ "n444&*::::
F Hr   )__doc__r   r   pandasr   r   pandas.core.groupby.baser   r   r   pandas.core.groupby.genericr   r   rW   rc   r   r    r   rV   <module>r      s?      
FR-"`;|@r   