zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
U
­ý°dŒã@sTddlZddlZddlmZddlmZddlm    Z    ddl
m Z dd„Z dd„Z dS)    éN)Ú DtypeWarning)ÚArrowExtensionArray)Ú_concatenate_chunkscCsht d¡}dt| ddg¡ƒidt| ddg¡ƒig}t|ƒ}t| ddddg¡ƒ}t |d|¡dS)    NÚpyarrowrçø?ç@éégð?g@)ÚpytestÚ importorskiprÚarrayrÚtmZassert_extension_array_equal©ÚpaÚchunksÚresultÚexpected©rúed:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/io/parser/test_concatenate_chunks.pyÚtest_concatenate_chunks_pyarrow s
þrc    Cs’t d¡}dt| ddg¡ƒidt| ddg¡ƒig}tjtddt|ƒ}W5QRXt     tjddgt
d    t ddg¡g¡}t  |d|¡dS)
NrrrrÚaÚbzhave mixed types)Úmatch)Zdtype) r
r rr r Zassert_produces_warningrrÚnpZ concatenateÚobjectZassert_numpy_array_equalrrrrÚ'test_concatenate_chunks_pyarrow_stringss
þÿr)Únumpyrr
Z pandas.errorsrZpandas._testingZ_testingr Zpandas.core.arraysrZ"pandas.io.parsers.c_parser_wrapperrrrrrrrÚ<module>s