+
    xȇiq                     Z    ^ RI t^ RIt^ RIHtHtHtHtHtH	t	H
t
 ^ RIHt  ! R R4      tR# )    N)	DataFrameDatetimeIndexIndex
MultiIndexSeriesconcat
date_rangec                   t  a  ] tR t^t o ]P
                  P                  R]R.4      ]P
                  P                  R]P                  ]P                  RR.4      R 4       4       tR tR tR	 tR
 tR tR tR t]P
                  P                  R]P                  ! ^4      ^.4      R 4       tR tR tRtV tR# )TestSeriesConcat
bool_dtypebooleandtypeInt64Float64c                <   \        R R.VR7      p\        ^^.VR7      p\        W4.R R7      p\        . RO\        R7      pVP                  ^ ,          R J g   Q h\	        VP                  ^,          4      \
        \        39   g   Q h\        P                  ! WV4       R# )TFr   )ignore_indexN)TF      )	r   r   objectiloctypeintfloattmassert_series_equal)selfr   r   leftrightresultexpecteds   &&&    w/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/reshape/concat/test_series.pytest_concat_bool_and_numeric-TestSeriesConcat.test_concat_bool_and_numeric   s     tUm:61vU+D9-V<{{1~%%%FKKN#U|333
v0    c           	        \        \        P                  ! ^\        P                  R7      \	        R^RR7      RR7      pRVn        VR,          VR,          VR	,          .p\        V4      p\        P                  ! W14       VP
                  VP
                  8X  g   Q h\        V. ROR
7      pVP                  4       p\        P                  ! . ROV Uu. uF  p\        V4      NK  	  up4      \        P                  ! \        V4      4      .p\        . RO\        VP                  P                  RR7      4      .VR7      pWtn        \        P                  ! W44       R# u upi )   r   
2020-01-01ns)periodsunitfooindexname:N   N:r0      N:r1   NN)keyszM8[ns])levelscodesN)r   r   r   )r   nparangefloat64r	   r/   r   r   r   copyrepeatlenr   r   r.   to_numpy)r   tspiecesr    r!   x	exp_codes	exp_indexs   &       r"   test_concat_series#TestSeriesConcat.test_concat_series   s   IIb

+\2DA

 R&"T(BsG,
v*{{bgg%%%Y/779YYy6*B6a3q66*BCRYYsSUwEWX	}RXX->->X->-NOP
	 #
v0 +Cs   E 
c                    \        ^.4      p\        . \        R7      pVP                  \        4      p\        W.4      p\        P
                  ! WC4       R# )r   r   N)r   r   astyper   r   r   )r   s1s2r!   r    s   &    r"   1test_concat_empty_and_non_empty_series_regressionBTestSeriesConcat.test_concat_empty_and_non_empty_series_regression5   sA    QC[Bf%99V$!
v0r%   c                   \        \        P                  ! ^
\        P                  R7      \	        R^
R7      R7      pVRR	 VR,          V^R	 .p\        V^R7      p\        V4      P                  p\        P                  ! W44       \        V. R
O^R7      p\        V. R
OR7      P                  p\        P                  ! W44       R# )
   r   r(   )r*   r.   N:r   NNaxis)r2   rM   )ABC)
r   r5   r6   r7   r	   r   r   Tr   assert_frame_equal)r   r<   r=   r    r!   s   &    r"   test_concat_series_axis1)TestSeriesConcat.test_concat_series_axis1>   s    IIb

+:lTV3W
 Sb'2b62a8,Q'V$&&
f/_1=V?;==
f/r%   c                   \        \        P                  P                  ^4      P	                  ^4      RR7      p\        \        P                  P                  ^4      P	                  ^4      RR7      p\        W.^R7      p\        RVRV/4      p\        P                  ! W44       RVn	        \        W.^R7      p\        P                  ! VP                  \        R^ .RR7      4       R# )r   rO   r/   rP   rL   Nr   r   )r   r5   randomdefault_rngstandard_normalr   r   r   rS   r/   assert_index_equalcolumnsr   r   srF   r    r!   s   &    r"   /test_concat_series_axis1_preserves_series_names@TestSeriesConcat.test_concat_series_axis1_preserves_series_namesM   s    299((+;;A>SIBII))!,<<Q?cJa(c1c2./
f/a(
fnneS!HH.MNr%   c                   \        \        P                  P                  ^4      P	                  ^4      . RORR7      p\        \        P                  P                  ^4      P	                  ^4      . RORR7      p\        W#.^VR7      p\        RVRV/. R	OR7      pV'       d   VP                  4       p\        P                  ! WE4       R# )
r   rO   r-   rP   )rM   sortrK   N)cab)drd   re   rc   )rc   rd   re   rf   )
r   r5   rX   rY   rZ   r   r   
sort_indexr   rS   )r   rb   r^   rF   r    r!   s   &&    r"   %test_concat_series_axis1_with_reindex6TestSeriesConcat.test_concat_series_axis1_with_reindexZ   s    II!!!$44Q7UX
 II!!!$44Q7&

 ad3c1c2.6JK**,H
f/r%   c                   \        . R
O4      p\        . RO4      p\        W.^RR.R.R7      p\        ^^.^^.^^..\        RR.RR7      R7      p\        P
                  ! W44       \        W.^RR.RR.R7      p\        ^^.^^.^^..\        P                  ! RR.RR.R7      R7      p\        P
                  ! W44       R	# )r   rd   re   rO   )rM   r2   namesrW   r\   rP   )rk   N)r   r      )   r0      )rd   r   )re   r   )r   r   r   r   r   rS   r   from_tuplesr]   s   &    r"   &test_concat_series_axis1_names_applied7TestSeriesConcat.test_concat_series_axis1_names_appliedj   s    9IasCjFVaVaV$eS#JS.I
 	f/ax.B3PS*UVaVaV$**Hh+?SzR
 	f/r%   c                   \        R RRR7      ^ R
 p\        \        P                  P	                  ^4      P                  \        V4      4      VRR7      p\        \        P                  P	                  ^4      P                  \        V4      4      VRR7      p\        W#.^RR7      p\        \        ^4      4      p\        P                  ! VP                  VRR7       R	# )z01-Jan-2013z01-Jan-2014MS)freqvaluer-   TrM   r   )exactN)r	   r   r5   rX   rY   rZ   r:   r   r   ranger   r[   r\   )r   datesrE   rF   r    r!   s   &     r"   0test_concat_series_axis1_same_names_ignore_indexATestSeriesConcat.test_concat_series_axis1_same_names_ignore_index{   s    =-dCAbIII!!!$44SZ@

 II!!!$44SZ@
 qt<q?
fnnhdCr%   s1namec           
         Rp\        R^R^/VR7      p\        R^R^/VR7      p\        W4.4      p\        R^R^R^R^/4      p\        P                  ! WV4       R# )+   rd   re   rW   rc   rf   N)r   r   )r   r   r   r   )r   r~   s2namerE   rF   r    r!   s   &&     r"   &test_concat_series_name_npscalar_tuple7TestSeriesConcat.test_concat_series_name_npscalar_tuple   sh     S!S!$62S!S!$62!3333:;
v0r%   c           	        \        ^^.RR7      p\        ^^.4      p\        ^^.4      p\        WV.^R7      p\        R^^.^ ^^.^^^./. ROR7      p\        P                  ! WE4       \        WV.^. ROR7      p\        R^^.R^^.R^^./. ROR7      p\        P                  ! WE4       \        WV.^R	R
7      p\        ^ ^^.^^^.^^^./4      p\        P                  ! WE4       R# )r   r,   rW   rL   rl   redblueyellow)rM   r2   Trw   N)r,   r   r   )r   r   r   )r   r   r   r   rS   )r   named_seriesunnamed_series1unnamed_series2r    r!   s   &     r"   (test_concat_series_partial_columns_names9TestSeriesConcat.test_concat_series_partial_columns_names   s   q!f51 !Q. !Q.HqQQFA1vq1a&1=
 	f/O<*

 QFFQFHq!f=-
 	f/O<1SW
 a!QQFA1v>?
f/r%   c                    V! ^d.4      p\        VP                  RRR1,          .4      p\        P                  ! W24       R# )d   Nry   )r   r   r   assert_equal)r   frame_or_seriesobjr    s   &&  r"   &test_concat_series_length_one_reversed7TestSeriesConcat.test_concat_series_length_one_reversed   s3    se$$B$()
$r%    N)__name__
__module____qualname____firstlineno__pytestmarkparametrizeboolr5   int64r7   r#   rA   rG   rT   r_   rh   rq   r|   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r"   r   r      s     [[\D)+<=[[WrxxWi&PQ1 R >11010O0 0"D$ [[Xs';<1 =10:% %r%   r   )numpyr5   r   pandasr   r   r   r   r   r   r	   pandas._testing_testingr   r   r   r%   r"   <module>r      s+        h% h%r%   