hyb
2025-12-30 5e753a15ff53faab2261a53367e44d38caf87041
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Ë
oñúh!!ãód—dZddlZddlZddlmZmZddlmZmZm    Z    ddl
m Z m Z d„Z d„Zd„Zd    „Zy)
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óœ—|jd¬«}t|«Dchc]}|jd«rŒ|’Œ}}hd£}||k(sJ‚ycc}w)NÚsecond)ÚlevelÚ_>BÚAÚBÚCÚaggÚallÚanyÚcovÚewmÚmaxÚminÚnthÚsemÚstdÚsumÚvarÚcorrÚdiffÚheadÚhistÚlastÚmeanÚndimÚohlcÚpipeÚplotÚprodÚrankÚsizeÚskewÚtailÚtakeÚapplyÚbfillÚcountÚffillÚfirstÚshiftÚcummaxÚcumminÚcumsumÚdtypesÚfillnaÚfilterÚgroupsÚidxmaxÚidxminÚmedianÚngroupÚsampleÚboxplotÚcumprodÚindicesÚngroupsÚnuniqueÚrollingÚcorrwithÚcumcountÚdescribeÚquantileÚresampleÚ    aggregateÚ    expandingÚ    get_groupÚ    transformÚ
pct_changeÚ value_counts)ÚgroupbyÚdirÚ
startswith)Ú multiindex_dataframe_random_dataÚgrpÚvÚresultsÚexpecteds     úPH:\Change_password\venv_build\Lib\site-packages\pandas/tests/groupby/test_api.pyÚtest_tab_completionrYsV€Ø
2¸Ð
B€Cܘc›(Ö<Q¨!¯,©,°sÕ*;ŠqÐ<€GÐ<òC€HðH hÒ ÐÑ ùòK=s
 A    ·A    cóú—|j|jdd…df«}t|«Dchc]}|jd«rŒ|’Œc}t    |j
«z
}t    |«}|t z}|tz}|tz}t tzrJ‚t tzrJ‚ttzrJ‚|rd|›d}t|«‚t tztz}||k7rd||z
›d}t|«‚ycc}w)Nrr 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
)
rPÚilocrQrRÚsetÚcolumnsrrrÚAssertionError)rSrTr ÚnamesÚ    new_namesÚmsgÚall_categorizeds       rXÚtest_all_methods_categorizedrces,€Ø
2Ø(×-Ñ-ªa°¨dÑ3ó €Cô˜C›Ö :1¨¯ © °SÕ(9ŠQÒ :¼SØ(×0Ñ0ó>ñ €EôE“
€IØ Ô"Ñ"€IØ Ô'Ñ'€IØ Ô&Ñ&€Iä Ô#9Ò9Ð9Ð 9Ü Ô#8Ò8Ð8Ð 8Ü%Ô(=Ò=Ð=Ð =ñðà
€ ð     ð  ˆô˜SÓ!Ð!ô(Ô*@Ñ@ÔCXÑX€OØ Òðð5ÑÐððˆô˜SÓ!Ð!ð ùòA ;s °C8ÁC8có¸—|dvrd}tj|¬«|dvrtt|«rJ‚yt    t|«}t    t
|«}t tj|«j«}|dk(rdh}n(t tj|«j«}t «t «}}|dvrhd£}nl|d    vrd
d h}nc|d vrd h}n[|d vr    hd£}hd£}nN|dvr    hd£}ddh}nA|dvrhd£}n8|dvrhd£}n/|dvrddh}d
h}n#|dvrdh}n|dvrdh}d h}n|dvrd
h}n|dvrdd h}||z|k(sJ‚||z|k(sJ‚||z}||z}||k(sJ‚y)N©r1r!z?first and last are entirely different between frame and groupby)Úreason)rFr=r)Úself©rr>ÚaxisÚkwargsÚ    bool_only)r/Ú numeric_onlyri)rC©rr>rirjÚskipna>ÚengineÚ    min_countÚ engine_kwargs©r"rrrrorq©r<r'r©Úbackfillr.r0Úpad>riÚinplaceÚdowncastÚ
limit_area©r3r4rnÚargs©r@r5©rNrj©r(©rHÚmethod)
ÚpytestÚskipÚhasattrrÚgetattrrr\ÚinspectÚ    signatureÚ
parameters)Ú groupby_funcraÚ frame_methodÚ    gb_methodÚresultrWÚexclude_expectedÚexclude_results        rXÚtest_frame_consistencyrŽ•sÖ€àÐ(Ñ(ØOˆÜ ‰ ˜3ÕàÐ-Ñ-Üœ9 lÔ3Ð3Ð3Øäœ9 lÓ3€LÜÔ(¨,Ó7€IÜ ”×"Ñ" 9Ó-×8Ñ8Ó 9€FؐvÒà8‰ä”w×(Ñ(¨Ó6×AÑAÓBˆô(+£u¬c«enÐØ~Ñ%Ú:ÑØ    ˜Ñ    #Ø*¨FÐ3ÑØ    ˜Ñ    %Ø"˜8ÑØ    ˜Ñ    'Ú7ÐÚA‰Ø    Ð6Ñ    6Ú7ÐØ" OÐ4‰Ø    Ð2Ñ    2Ú7ÑØ    Ð>Ñ    >ÚHÑØ    Ð-Ñ    -Ø$ fÐ-ÐØ(Ð)‰Ø    Ð.Ñ    .Ø$˜:ÑØ    ˜Ñ    (Ø$˜:ÐØ ˜‰Ø    ˜Ñ    "Ø*Ð+ÑØ    ˜Ñ    &Ø$ fÐ-Ðð NÑ " nÒ 4Ð4Ð 4Ø Ð&Ñ &Ð*:Ò :Ð:Ð :à
ˆnÑ€FØ Ð Ñ €HØ XÒ ÐÑ ócó°—|dvrtjd«|dvrtt|«rJ‚yt    t|«}t    t
|«}t tj|«j«}|dk(rdh}n(t tj|«j«}t «t «}}|dvrhd£}nk|dvrd    h}nc|d
vr    hd £}hd £}nV|d vr    hd £}ddh}nI|dvrhd £}n@|dvrhd£}n7|dvrddh}dh}n+|dvrdh}n#|dvrdh}d    h}n|dvrdh}n|dvrddh}n|dvrdh}||z|k(sJ‚||z|k(sJ‚||z}||z}||k(sJ‚y)Nrez@first and last are entirely different between Series and groupby)rFrEr=r)rgrh>rirjrk)rrirm>rirjrn>rorprqrrrorqrsrt>rirwrxryrzrnr{rlr|r}rjr~)r;r:r)
rr‚rƒrr„r    r\r…r†r‡)ÚrequestrˆÚ series_methodrŠr‹rWrŒrs        rXÚtest_series_consistencyr“Ñs΀àÐ(Ñ(܏ ‰ ÐVÔWàÐ9Ñ9Üœ6 <Ô0Ð0Ð0ØäœF LÓ1€MÜœ  |Ó4€IÜ ”×"Ñ" 9Ó-×8Ñ8Ó 9€FؐvÒà8‰ä”w×(Ñ(¨Ó7×BÑBÓCˆô(+£u¬c«enÐØ~Ñ%Ú:ÑØ    ˜Ñ    "Ø ˜‰Ø    ˜Ñ    'Ú7ÐÚA‰Ø    Ð6Ñ    6Ú7ÐØ" OÐ4‰Ø    Ð2Ñ    2Ú7ÑØ    Ð>Ñ    >ÚHÑØ    Ð-Ñ    -Ø$ fÐ-ÐØ(Ð)‰Ø    Ð.Ñ    .Ø$˜:ÑØ    ˜Ñ    (Ø$˜:ÐØ ˜‰Ø    ˜Ñ    "Ø*Ð+ÑØ    Ð-Ñ    -Ø" HÐ-ÑØ    ˜Ñ    &Ø(Ð)ˆð NÑ " nÒ 4Ð4Ð 4Ø Ð&Ñ &Ð*:Ò :Ð:Ð :à
ˆnÑ€FØ Ð Ñ €HØ XÒ ÐÑ r)Ú__doc__r…rÚpandasrrÚpandas.core.groupby.baserrrÚpandas.core.groupby.genericrr    rYrcrŽr“©rrXú<module>r™s>ðñóã ÷÷ñ÷
ò GòT-"ò`9óx8r