hyb
2026-01-09 4cb426cb3ae31e772a09d4ade5b2f0242aaeefa0
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
Ë
oñúhïãó’—UddlmZddlmZddlZddlZddlZddl    m
Z e jDcgc]}ejgd¢|¬«‘Œc}Zdgee«zZded<ee j$Dcgc]}ejgd    ¢|¬«‘Œc}z Zed
d
gz Zeejgd ¢d ¬«gz Zed gz Zej&eee«eDcgc]}|j*j,‘Œc}¬«d„«Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z ejBjEdgd¢«d„«Z#ycc}wcc}wcc}w)é)Ú annotations)ÚAnyN)éééN©Údtyperz    list[Any]Úscalars)gš™™™™™¹?皙™™™™É?g333333Ó?Nr )TFTNÚbooleanF)ÚparamsÚidscó—|jS)z¶Fixture returning parametrized (array, scalar) tuple.
 
    Used to test equivalence of scalars, numpy arrays with array ops, and the
    equivalence of DataFrame and Series ops.
    )Úparam)Úrequests ú]H:\Change_password\venv_build\Lib\site-packages\pandas/tests/arrays/masked/test_arithmetic.pyÚdatars€ð =‰=Ðócó‚—t|jtj«rd|vrt    j
d«yyy)NÚsubz$subtract not implemented for boolean)Ú
isinstancer    ÚpdÚ BooleanDtypeÚpytestÚskip©rÚop_names  rÚ
check_skipr s1€Ü$—*‘*œbŸo™oÔ.°5¸GÑ3C܏ ‰ Ð:Õ;ð4DÐ.rcó|—|jjdk(xr"|jd«jd«dvS)NÚbÚ_Úr)ÚpowÚtruedivÚfloordiv)r    ÚkindÚstripÚlstriprs  rÚis_bool_not_implementedr)%s=€à :‰:?‰?˜cÑ !ò  g§m¡m°CÓ&8×&?Ñ&?ÀÓ&DðIð'ðrcóB—|\}}tj|«}t||«tj|gt |«z|j ¬«}||j j|«fD]“}t||«r]d}tjt|¬«5|||«ddd«tjt|¬«5|||«ddd«Œl|||«}|||«}tj||«Œ•y#1swYŒbxYw#1swYŒ¬xYw©Nrú-operator '.*' not implemented for bool dtypes©Úmatch) ÚtmÚget_op_from_namerrÚarrayÚlenr    Útyper)rÚraisesÚNotImplementedErrorÚassert_extension_array_equal)rÚall_arithmetic_operatorsÚscalarÚopÚ scalar_arrayÚmsgÚresultÚexpecteds        rÚ"test_array_scalar_like_equivalencer>2s€ØL€Dˆ&Ü     ×    Ñ    Ð5Ó    6€B܈tÐ-Ô.ä—8‘8˜V˜H¤s¨4£yÑ0¸¿
¹
ÔC€Lð˜4Ÿ:™:Ÿ?™?¨6Ó2Ð3ò
>ˆÜ " 4Ð)AÔ BØAˆCÜ—‘Ô2¸#Ô>ñ !ِ4˜Ô ÷ !ä—‘Ô2¸#Ô>ñ 'ِ4˜Ô&÷ 'ð 'ñ˜˜fÓ%ˆFÙ˜$  Ó-ˆHÜ × +Ñ +¨F°HÕ =ñ
>÷ !ð !ú÷ 'ð 'úsÂ
D    Ã
DÄ    D    ÄD    có¼—|\}}tj|«}t||«tj}tj
tjgt |«z|j¬«}|jj«}t||«rPd}tjt|¬«5|||«ddd«tj||j«y|||«}tj||j«|||«}    tj||j«tj||    «y#1swYŒ“xYwr+)r/r0rrÚNAr1r2r    Ú_maskÚcopyr)rr4r5Úassert_numpy_array_equalr6)
rr7r!r9r8r:Úmaskr;r<r=s
          rÚ test_array_NArEGs
€ØG€Dˆ!Ü     ×    Ñ    Ð5Ó    6€B܈tÐ-Ô.ä U‰U€FÜ—8‘8œRŸU™U˜G¤c¨$£iÑ/°t·z±zÔB€Là :‰:?‰?Ó €Dä˜tÐ%=Ô>Ø=ˆÜ ]‰]Ô.°cÔ :ñ    Ù ˆtVÔ ÷    ô     ×#Ñ# D¨$¯*©*Ô5Øá fÓ €Fä×Ñ  d§j¡jÔ1á$˜ Ó%€HÜ×Ñ  d§j¡jÔ1ä×#Ñ# F¨HÕ5÷    ð    ús Â6
EÅEcóT—|\}}tj|«}t||«tj|gt |«z|j j¬«}tj||j ¬«}t||«r]d}tjt|¬«5|||«ddd«tjt|¬«5|||«ddd«y|||«}|||«}tj||«y#1swYŒ`xYw#1swYyxYwr+)r/r0rÚnpr1r2r    Ú numpy_dtyperr)rr4r5r6)    rr7r8r9Ú numpy_arrayÚpd_arrayr;r<r=s             rÚtest_numpy_array_equivalencerKcsõ€ØL€Dˆ&Ü     ×    Ñ    Ð5Ó    6€B܈tÐ-Ô.ä—(‘(˜F˜8¤c¨$£iÑ/°t·z±z×7MÑ7MÔN€K܏x‰x˜ ¨4¯:©:Ô6€Hä˜tÐ%=Ô>Ø=ˆÜ ]‰]Ô.°cÔ :ñ    "Ù ˆt[Ô !÷    "ä ]‰]Ô.°cÔ :ñ    Ù ˆtXÔ ÷    àá kÓ "€Fِ$˜Ó!€HÜ×#Ñ# F¨HÕ5÷    "ð    "ú÷    àúsÂ)
DÃ
DÄDÄD'cóú—|\}}tj|«}t||«tjd|i«}t ||«r]d}t jt|¬«5|||«ddd«t jt|¬«5|||«ddd«y|||«}tjd|||«i«}tj||«y#1swYŒuxYw#1swYyxYw)NÚAr,r-)
r/r0rrÚ    DataFramer)rr4r5Úassert_frame_equal)rr7r8r9Údfr;r<r=s        rÚ
test_framerQ|s܀؁L€Dˆ&Ü     ×    Ñ    Ð5Ó    6€B܈tÐ-Ô.ô
‰s˜DkÓ    "€Bä˜tÐ%=Ô>Ø=ˆÜ ]‰]Ô.°cÔ :ñ    Ù ˆr6ŒN÷    ä ]‰]Ô.°cÔ :ñ    Ù ˆtVÔ ÷    àá F‹^€F܏|‰|˜S¡" T¨6Ó"2Ð3Ó4€HÜ×ј& (Õ+÷    ð    ú÷    àúsÁ'
C%Â
C1Ã%C.Ã1C:c    ó¶—|\}}tj|«}t||«tj|«}|t j |gt|«z|jj¬«tj |gt|«z|j¬«tj|gt|«z|j¬«g}|D]y}t||«r0d}tjt|¬«5|||«ddd«Œ?|||«}tj|||««}    tj||    «Œ{y#1swYŒ†xYwr+)r/r0rrÚSeriesrGr1r2r    rHr)rr4r5Úassert_series_equal)
rr7r8r9ÚserÚothersÚotherr;r<r=s
          rÚ test_seriesrX‘s!€ØL€Dˆ&Ü     ×    Ñ    Ð5Ó    6€B܈tÐ-Ô.ä
)‰)D‹/€Cð    Ü
‰&œC ›IÑ%¨T¯Z©Z×-CÑ-CÔDÜ
‰&œC ›IÑ%¨T¯Z©ZÔ8Ü
    ‰    6(œS ›YÑ&¨d¯j©jÔ9ð    €Fðò    5ˆÜ " 4Ð)AÔ BØAˆCÜ—‘Ô2¸#Ô>ñ ِ3˜”÷ ð ñ˜˜U“^ˆFÜ—y‘y¡ D¨%£Ó1ˆHÜ × "Ñ " 6¨8Õ 4ñ    5÷ ð ús Ã>
EÅE    c    óV—|\}}|}t||«}|tjd|i««}|tusJ‚d}t    j
t |¬«5|tjt|««jdt|«««ddd«y#1swYyxYw)NrMz(can only perform ops with 1-d structuresr-éÿÿÿÿ) ÚgetattrrrNÚNotImplementedrr4r5rGÚaranger2Úreshape)rr7r!r9Úopar<r;s       rÚtest_error_invalid_objectr`¯s’€ØG€Dˆ!à    !€BÜ
$˜Ó
€Cñ”—‘˜s D˜kÓ*Ó +€FØ ”^Ñ #Ð#Ð #à
5€CÜ    ‰Ô*°#Ô    6ñ9Ù ŒBI‰I”c˜$“iÓ  × (Ñ (¨¬S°«YÓ 7Ô8÷9÷9ñ9ús Á>BÂB(cóV—|\}}tj|«}|gt|«dz
z}t}dj    ddg«}|j
j dk(r|jd«dvr    t}d}nt||«rd    }t}|tj|«fD]i}tj||¬
«5|||«ddd«tj |«}tj||¬
«5|||«ddd«Œky#1swYŒJxYw#1swYŒ‚xYw) Nrú|zBoperands could not be broadcast together with shapes \(3,\) \(4,\)zBoperands could not be broadcast together with shapes \(4,\) \(3,\)r r!)rÚrsubzˆnumpy boolean subtract, the `\-` operator, is not supported, use the bitwise_xor, the `\^` operator, or the logical_xor function insteadr,r-)r/r0r2Ú
ValueErrorÚjoinr    r&r'Ú    TypeErrorr)r5rGr1rr4rrS)rr7r8r9rWÚerrr;Úss        rÚtest_error_len_mismatchri¾s*€àL€Dˆ&Ü     ×    Ñ    Ð5Ó    6€Bà ˆHœ˜D›     A™ Ñ &€Eä
€CØ
(‰(à QØ Qð    
ó €Cð  ‡zz‡˜#ÒÐ":×"@Ñ"@ÀÓ"EðJñ#ôˆð Wñ     ô
! Ð'?Ô    @Ø=ˆÜ!ˆàœŸ™ %›Ð)òˆÜ ]‰]˜3 cÔ *ñ    Ù ˆtUŒO÷    ô I‰Id‹OˆÜ ]‰]˜3 cÔ *ñ    Ù ˆq%ŒL÷    ð    ñ ÷    ð    ú÷    ð    úsÃ
DÃ>
DÄD    ÄD(    r9)Ú__neg__Ú__abs__Ú
__invert__có—|\}}tj|«}|dk(rÅ|jjdk(r¬d}t    j
t |¬«5t||««ddd«t    j
t |¬«5t||««ddd«t    j
t |¬«5t|j|««ddd«yt||««}|jd¬«}d|d<tj||«y#1swYŒ½xYw#1swYŒ”xYw#1swYyxYw)NrlÚfz0ufunc 'invert' not supported for the input typesr-T)Údeepr) rrSr    r&rr4rfr[Ú_datarBr/rT)rr9r!rUr;r<r=s       rÚ%test_unary_op_does_not_propagate_maskrqâs€ðG€Dˆ!Ü
)‰)D‹/€Cà    ˆ\Ò˜dŸj™jŸo™o°Ò4à@ˆÜ ]‰]œ9¨CÔ 0ñ    Ø ŒGC˜Ó Ô ÷    ä ]‰]œ9¨CÔ 0ñ     Ø ŒGD˜"Ó Ô ÷     ä ]‰]œ9¨CÔ 0ñ    &à #ŒGD—J‘J Ó #Ô %÷    &ð    à ŒWS˜"Ó Ó €F؏{‰{ ˆ{Ó%€HØ €CˆFÜ×ј6 8Õ,÷    ð    ú÷     ð     ú÷    &ð    ús$ÁD$ D0ÃD<Ä$D-Ä0D9Ä<E)$Ú
__future__rÚtypingrÚnumpyrGrÚpandasrÚpandas._testingÚ_testingr/ÚALL_INT_EA_DTYPESr1Úarraysr2r
Ú__annotations__ÚFLOAT_EA_DTYPESÚfixtureÚzipr    Únamerrr)r>rErKrQrXr`riÚmarkÚ parametrizerq)r    Úas00rú<module>r‚sTðÞ"åãÛ ãÝð?A×>RÑ>RÖ    S°Uˆ(ˆ"(‰(’?¨%Ö
0Ò    S€ØS™3˜v›;Ñ&€ˆÓ&àÀR×EWÑEWÖ
X¸Eˆ8ˆ28‰8Ò)°Ö 7Ò
XÑX€ØˆCˆ:Ñ€àˆ8ˆ28‰8Ò-°YÔ ?Ð
@Ñ@€ØˆEˆ7Ñ€ð€‡‘s˜6 7Ó+ÈÖ1OÀ1°!·'±'·,³,Ò1OÔPñóQðò<ò
ò>ò*6ò86ò2,ò*5ò< 9ò!ðH‡×јÒCÓDñ-óEñ-ùòo
Tùò Yùò2Ps®D:Á.D?ÃE