hyb
2025-11-18 7539e6f48c75dcaeb808359cccfd1c0d0d182ce8
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
Ë
oñúhQ ãóP—ddlZddlZddlmZmZddlmZddl    m
Z
Gd„d«Z y)éN)ÚIndexÚ
date_range©Úcartesian_productc óú—eZdZd„Zd„Zd„Zd„Zejjdgggddgggggd¢gg«d    „«Z
d
„Z ejjd ddgdd gdgd gd d gd dgd gdgg«d„«Z d„Z y)ÚTestCartesianProductcóö—td«ddg}}t||g«\}}tjgd¢«}tjgd¢«}t    j
||«t    j
||«y)NÚABCéé)ÚAr ÚBrÚCr)r r r r r r )ÚlistrÚnpÚarrayÚtmÚassert_numpy_array_equal)ÚselfÚxÚyÚresult1Úresult2Ú    expected1Ú    expected2s       úQH:\Change_password\venv_build\Lib\site-packages\pandas/tests/reshape/test_util.pyÚ test_simplez TestCartesianProduct.test_simple sd€ÜE‹{˜Q ˜Gˆ1ˆÜ,¨a°¨VÓ4шÜ—H‘HÒ;Ó<ˆ    Ü—H‘HÒ2Ó3ˆ    Ü
×#Ñ# G¨YÔ7Ü
×#Ñ# G¨YÕ7ócó—tdd¬«}d„t||g«D«\}}tgd¢tj¬«}tgd¢tj¬«}t j ||«t j ||«y)Nú
2000-01-01é)Úperiodsc3óFK—|]}t|«j–—Œy­w©N)rÚday)Ú.0rs  rú    <genexpr>z:TestCartesianProduct.test_datetimeindex.<locals>.<genexpr>sèø€ÒL¨QœE !›HŸLLÑLùs‚!)r r r!r!©Údtype)r r!r r!)rrrrÚint32rÚassert_index_equal)rrrrrrs      rÚtest_datetimeindexz'TestCartesianProduct.test_datetimeindexsi€ô |¨QÔ /ˆÙLÔ2CÀQÈÀFÓ2KÔLшÜš,¬b¯h©hÔ7ˆ    Üš,¬b¯h©hÔ7ˆ    Ü
×јg yÔ1Ü
×јg yÕ1rcó¼—tddd¬«}tjddg«}t||g«\}}|j    d«}t j ||«y)Nr r!ú
US/Pacific©r"Útzéé)rrrrÚrepeatrr+©rrrrrÚexpecteds      rÚtest_tzaware_retainedz*TestCartesianProduct.test_tzaware_retainedsR€Ü |¨Q°<Ô @ˆÜ H‰Ha˜VÓ ˆÜ,¨a°¨VÓ4шà—8‘8˜A“;ˆÜ
×јg xÕ0rcóڗtddd¬«jd«}tjddg«}t    ||g«\}}|j d«}t j||«y)Nr r!r.r/Úcategoryr1r2)rÚastyperrrr3rr+r4s      rÚ!test_tzaware_retained_categoricalz6TestCartesianProduct.test_tzaware_retained_categorical's]€Ü |¨Q°<Ô @× GÑ GÈ
Ó SˆÜ H‰Ha˜VÓ ˆÜ,¨a°¨VÓ4шà—8‘8˜A“;ˆÜ
×јg xÕ0rzx, yrr )ÚaÚbÚccóL—tjgtj|«j¬«}tjgtj|«j¬«}t    ||g«\}}t j ||«t j ||«y)Nr()rrÚasarrayr)rrr)rrrrrrrs       rÚ
test_emptyzTestCartesianProduct.test_empty/ss€ô—H‘H˜R¤r§z¡z°!£}×':Ñ':Ô;ˆ    Ü—H‘H˜R¤r§z¡z°!£}×':Ñ':Ô;ˆ    Ü,¨a°¨VÓ4шÜ
×#Ñ# G¨YÔ7Ü
×#Ñ# G¨YÕ7rcó,—tg«}g}||k(sJ‚yr$r)rÚresultr5s   rÚtest_empty_inputz%TestCartesianProduct.test_empty_input8s€ä" 2Ó&ˆØˆØ˜Ò!Ð!Ñ!rÚXr!r;r<có€—d}tjt|¬«5t|¬«ddd«y#1swYyxYw)Nz'Input must be a list-like of list-likes©Úmatch©rD)ÚpytestÚraisesÚ    TypeErrorr)rrDÚmsgs   rÚtest_invalid_inputz'TestCartesianProduct.test_invalid_input>s4€ð8ˆä ]‰]œ9¨CÔ 0ñ    #Ü  Õ "÷    #÷    #ñ    #úsž 4´=c    óR—d}tjt|¬«5td«Dcgc](}t    j
ddtj ¬«‘Œ*c}t    j
dtj ¬«gz}t|¬«ddd«ycc}w#1swYyxYw)    Nz+Product space too large to allocate arrays!rFé rr r(i;rH)rIrJÚ
ValueErrorÚrangerÚarangeÚint16r)rrLÚiÚdimss    rÚtest_exceed_product_spacez.TestCartesianProduct.test_exceed_product_spaceGs~€à;ˆä ]‰]œ:¨SÔ 1ñ    &Ü>CÀB»iÖH¸”B—I‘I˜a ¬2¯8©8Ö4ÒHÜ—‘˜5¬¯©Ô1ðLñˆDô  Õ %÷        &ð    &ùÚH÷    &ð    &úsžB¬-BÁ6BÂBÂB&N)Ú__name__Ú
__module__Ú __qualname__rr,r6r:rIÚmarkÚ parametrizer@rCrMrV©rrrr s¯„ò8ò2ò1ò1ð ‡[[×јV r¨2 h°!°Q°¸° ¸rÂ?Ð>SÐ%TÓUñ8óVð8ò"ð  ‡[[×ÑØ ˆa!q˜!f ˜s A˜h¨¨c¨U°S¸#°JÀ#ÀÈÀ Ð Móñ#óð#ó &rr) ÚnumpyrrIÚpandasrrÚpandas._testingÚ_testingrÚpandas.core.reshape.utilrrr\rrú<module>rbs$ðÛÛ ÷õÝ6÷C&òC&r