1
2
3
4
5
6
7
8
9
10
11
12
13
U
­ý°d~ã@s4ddlZddlZddlmZddlmZdd„Z    dS)éN)ÚFloatAttrArraycCs†ttjtjtjgdddd}t |ddgdœ¡}t ddgddgd    œ¡}tj||d
d }t |ddgddgd œ¡}t ||¡|d jj    dks”t
‚t |ddgdœ¡}t ddgddgd    œ¡}tj||d
d }t |  dg¡dgdgd œ¡}t ||¡|d jj    dkst
‚tj |  d
¡|  d
¡gdd}t |  dddg¡dtjdgdddgdœ¡  d
¡}t ||¡|d jj    dks‚t
‚dS)NÚfloat64)ZdtypeÚtest)Úattrré)ÚcolÚkeyé)rÚcol2r)Úon)rrr
r)Zaxiséÿÿÿÿ)rr
r)rÚnpÚarrayÚnanÚpdZ    DataFrameÚmergeÚtmZassert_frame_equalrÚAssertionErrorZtakeÚconcatZ    set_index)ZarrZdf1Zdf2ÚresultÚexpected©rúrd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/extension/array_with_attr/test_array_with_attr.pyÚtest_concat_with_all_nas*  $ÿþ r)
Únumpyr ZpandasrZpandas._testingZ_testingrZ&pandas.tests.extension.array_with_attrrrrrrrÚ<module>s