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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Ë
oñúhvãó—ddlZddlZddlZddlmZddlmZejjdddg«d„«Z ejjddd    g«d
„«Z d „Z d „Zd „Zejjddd    g«d„«Zd„Zd„Zejjdej&ej(g«ejjdddide«ig«d„««Zd„Zd„Zd„Zd„Zd„Zd„Zy)éN)ÚSerieszoperation, expected)ÚminÚa)ÚmaxÚbcóR—tddgd¬«}t||««}||k(sJ‚y)NrrÚstring©Údtype)rÚgetattr)Ú    operationÚexpectedÚserÚres_operation_series    úVH:\Change_password\venv_build\Lib\site-packages\pandas/tests/series/test_reductions.pyÚtest_reductions_series_stringsr    s4€ô #s 8Ô
,€CØ1œ' # yÓ1Ó3ÐØ  (Ò *Ð*Ñ *óÚ    as_periodTFc
ór—ttdd«Dcgc]}tjdd|«‘Œc}«}|r|jj d«}n|jj d«}|j«}|j|jk(sJ‚tj||«ycc}w)Nééi»éÚDz
US/Central) rÚrangeÚpdÚ    TimestampÚdtÚ    to_periodÚ tz_localizeÚmoder ÚtmÚassert_series_equal)rÚnrÚress    rÚtest_mode_extension_dtyper%sŽ€ô ´E¸!¸Q³KÖ@¨q”"—,‘,˜t Q¨Õ*Ò@Ó
A€CáØf‰f×јsÓ#‰àf‰f× Ñ  Ó.ˆà
(‰(‹*€CØ 9‰9˜Ÿ    ™    Ò !Ð!Ð !Ü×ј3 Õ$ùòAs”B4c    óz—tdddtjddtjg|¬«}|jd¬«}tddtjg|¬«}t    j
||«|jd¬«}tddg|¬«}t    j
||«tj|d<|jd¬«}tddg|¬«}t    j
||«|jd¬«}ttjg|¬«}t    j
||«y)    Nréér
F)ÚdropnaTéÿÿÿÿ)rrÚNAr r!r")Úany_numeric_ea_dtyperÚresultrs    rÚtest_mode_nullable_dtyper. sÿ€ä
!Q˜œ2Ÿ5™5 ! Q¬¯©Ð.Ð6JÔ
K€CØ X‰X˜UˆXÓ #€Fܐq˜!œRŸU™UmÐ+?Ô@€HÜ×ј6 8Ô,à X‰X˜TˆXÓ "€Fܐq˜!fÐ$8Ô9€HÜ×ј6 8Ô,äe‰e€CˆGà X‰X˜TˆXÓ "€Fܐq˜!fÐ$8Ô9€HÜ×ј6 8Ô,à X‰X˜UˆXÓ #€FÜ”r—u‘ugÐ%9Ô:€HÜ×ј6 8Õ,rcó—tjd«tddgt¬«}t    j
dd«5|j «}ddd«tddgt¬«}tj|«y#1swYŒ3xYw)NÚpyarrowrrr
zfuture.infer_stringT)    ÚpytestÚ importorskiprÚobjectrÚoption_contextr r!r")rr-rs   rÚtest_mode_infer_stringr56sq€ä
×ј    Ô"Ü
#s¤6Ô
*€CÜ     ×    Ñ    Ð0°$Ó    7ñØ—‘“ˆ÷äs˜Cj¬Ô/€HÜ×ј6 8Õ,÷ðús ¿BÂB cóƗtdtjgd¬«}|d}|j«|k(sJ‚|j    «|k(sJ‚|j «|k(sJ‚y)Nrzm8[ns]r
)rrÚNaTÚmedianrr)rÚexps  rÚtest_reductions_td64_with_natr:@s[€ä
!”R—V‘V HÔ
-€CØ
ˆa‰&€CØ :‰:‹<˜3Ò ÐÐ Ø 7‰7‹9˜Ò ÐÐ Ø 7‰7‹9˜Ò ÐÑ rÚskipnacó®—tgd¬«}|j|¬«}t|tj«sJ‚|tjd«k(sJ‚y)Nztimedelta64[ns]r
)r;r)rÚsumÚ
isinstancerÚ    Timedelta)r;rr-s   rÚtest_td64_sum_emptyr@IsK€ô Ð,Ô
-€Cà W‰W˜FˆWÓ #€FÜ fœbŸl™lÔ +Ð+Ð +Ø ”R—\‘\ !“_Ò $Ð$Ñ $rcó„—ttjddd¬««}|dxxtjd«z cc<||j    «z
j «}tjtj ||j    «z
«jt|«z j««}tj|jdz |jdz «sJ‚d}tjt|¬    «5||j    «z
j«ddd«|dd
}tjt|¬    «5||j    «z
j«ddd«|dd}||j    «z
j«y#1swYŒzxYw#1swYŒ<xYw) NÚ20130101i †Úh)ÚperiodsÚfreqrz1s 1msièzoverflow in timedelta operation©Úmatchi')rrÚ
date_ranger?rÚmeanÚTimedeltaIndexÚasi8Úlenr=ÚnpÚallcloseÚ_valuer1ÚraisesÚ
ValueError)rr-rÚmsgÚs1Ús2s      rÚtest_td64_summation_overflowrUSsT€ä
”—‘˜z°6ÀÔDÓ
E€C؈ƒFŒbl‰l˜8Ó$Ñ$ƒFðC—G‘G“I‰o× #Ñ #Ó %€F܏|‰|œR×.Ñ.¨s°S·W±W³Y©Ó?×DÑDÄsÈ3ÃxÑO×TÑTÓVÓW€Hô ;‰;v—}‘} tÑ+¨X¯_©_¸tÑ-CÔ DÐDÐ Dð ,€CÜ    ‰”z¨Ô    -ñ Ø     ˆsw‰w‹y‰×ÑÔ÷ ð
ˆQˆuˆ€BÜ    ‰”z¨Ô    -ñØ     ˆbf‰f‹h‰×ÑÔ÷à     ˆQˆtˆ€B؈"&‰&‹(]×ÑÕ÷ ð ú÷ðúsÄ"F*Å"F6Æ*F3Æ6F?cóx—tgd¢td«¬«}|j«}t|t«rJ‚y)N)çð?rWrWr')Úindex)rrÚprodr>)rr-s  rÚtest_prod_numpy16_bugrZls0€Ü
’¬¨a«Ô
1€CØ X‰X‹Z€Fä˜&¤&Ô)Ð)Ð )Ð)rÚfuncÚkwargsÚkeepdimsÚoutcóâ—tddg«}tt|««}|j}d|›d|›d}t    j
t |¬«5||fi|¤Žddd«y#1swYyxYw)Nrr(zthe 'z=' parameter is not supported in the pandas implementation of z\(\)rF)rÚnextÚiterÚ__name__r1rPrQ)r\r[rÚparamÚnamerRs      rÚ)test_validate_any_all_out_keepdims_raisesressy€ô !Q‹.€CÜ ”f“Ó €EØ =‰=€D𠐈wðà"˜V 4ð    )ðô
 
‰”z¨Ô    -ñÙ ˆSѐFÒ÷÷ñús Á
A%Á%A.có°—tddg«}d}tjt|¬«5t    j
|d¬«ddd«y#1swYyxYw)Nrr(zPthe 'initial' parameter is not supported in the pandas implementation of sum\(\)rFé
)Úinitial©rr1rPrQrMr=©rrRs  rÚtest_validate_sum_initialrkƒsL€Ü
!Q‹.€Cð    %ðô
 
‰”z¨Ô    -ñ Ü
‰ˆs˜BÕ÷ ÷ ñ úó «A Á Acó¦—tddg«}d}tjt|¬«5|j    d¬«ddd«y#1swYyxYw)Nrr(z[the 'overwrite_input' parameter is not supported in the pandas implementation of median\(\)rFT)Úoverwrite_input)rr1rPrQr8rjs  rÚtest_validate_median_initialroŽsN€Ü
!Q‹.€Cð    (ðô
 
‰”z¨Ô    -ñ)ð     
‰
 4ˆ
Ô(÷)÷)ñ)ús «AÁAcó°—tddg«}d}tjt|¬«5t    j
|d¬«ddd«y#1swYyxYw)Nrr(zQthe 'keepdims' parameter is not supported in the pandas implementation of sum\(\)rFT)r]rirjs  rÚtest_validate_stat_keepdimsrq›sL€Ü
!Q‹.€Cð    %ðô
 
‰”z¨Ô    -ñ#Ü
‰ˆs˜TÕ"÷#÷#ñ#úrlcót—tddg«}|j«dk(sJ‚d}tjt|¬«5|j «ddd«|j «}|sd}tjt|¬«5|j «ddd«y#1swYŒRxYw#1swYyxYw)NÚ1Ú2Ú12zHCould not convert string '12' to numeric|does not support|Cannot performrFzECould not convert \['12'\] to numeric|does not support|Cannot perform)rr=r1rPÚ    TypeErrorrIÚto_frame)Úusing_array_managerÚusing_infer_stringrrRÚdfs     rÚ(test_mean_with_convertible_string_raisesr{¦s›€ä
#sÓ
€CØ 7‰7‹9˜Ò ÐÐ à
T€CÜ    ‰”y¨Ô    ,ñØ ‰Œ
÷ð
‰‹€BÙ ØVˆÜ    ‰”y¨Ô    ,ñØ
‰Œ    ÷ð÷ ðú÷ ðúsÁB"ÂB.Â"B+Â.B7có–—tjdddœg«}|rd}nd}tjt|¬«5|j «ddd«tjt|¬«5|j d«ddd«d}tjt|¬«5|d    j «ddd«d
}tjt|¬«5tj
|d    jd «j«ddd«y#1swYŒÏxYw#1swYŒ¦xYw#1swYŒyxYw#1swYyxYw) NÚJé{)ÚdbÚnumericz'Could not convert string 'J' to numericzDCould not convert \['J'\] to numeric|does not support|Cannot performrFrIzGCould not convert string 'J' to numeric|does not support|Cannot performrzECould not convert string 'J' to numeric|ufunc 'divide'|Cannot performr    )
rÚ    DataFramer1rPrvrIÚaggrMÚastypeÚarray)rxrzrRs   rÚ#test_mean_dont_convert_j_to_complexr…¶s€ä     ‰˜c¨cÑ2Ð3Ó    4€BÙØ7‰àUˆÜ    ‰”y¨Ô    ,ñØ
‰Œ    ÷ô
‰”y¨Ô    ,ñØ
‰ˆvŒ÷ð T€CÜ    ‰”y¨Ô    ,ñØ
ˆ4‰ ‰ Œ÷à
Q€CÜ    ‰”y¨Ô    ,ñ1Ü
‰4‘—‘ Ó)×/Ñ/Ô0÷1ð1÷ðú÷ðú÷ðú÷1ð1ús/¼DÁ0D'Â'D3à2D?ÄD$Ä'D0Ä3D<Ä?EcóJ—d}tgd¢«}tjt|¬«5|j    «ddd«|sd}|j «}tjt|¬«5|j    «ddd«y#1swYŒRxYw#1swYyxYw)NzICannot convert \['1' '2' '3'\] to numeric|does not support|Cannot perform)rsrtÚ3rFzMCannot convert \[\['1' '2' '3'\]\] to numeric|does not support|Cannot perform)rr1rPrvr8rw)rxrRrrzs    rÚ*test_median_with_convertible_string_raisesrˆËsŠ€à
V€CÜ
’Ó
!€CÜ    ‰”y¨Ô    ,ñØ 
‰
Œ ÷ñ ð ð     ð
‰‹€BÜ    ‰”y¨Ô    ,ñØ
    ‰    Œ ÷ð÷ðú÷ðús«B Á3B BÂB")ÚnumpyrMr1ÚpandasrrÚpandas._testingÚ_testingr!ÚmarkÚ parametrizerr%r.r5r:r@rUrZÚanyÚallr3rerkrorqr{r…rˆ©rrú<module>r’s&ðÛÛ ãÝÝð‡×ÑÐ.°¸|Ð0LÓMñ+óNð+ð‡×ј t¨U mÓ4ñ %ó5ð %ò-ò,-òð‡×ј D¨% =Ó1ñ%ó2ð%òò2*ð‡×ј "§&¡&¨"¯&©&Ð!1Ó2؇×ј Z°Ð$6¸ÁÃÐ8IÐ#JÓKñ óLó3ð ò ò
)ò#ò ò 1ó*r