+
    xȇi"N                       ^ RI Ht ^ RIHt ^ RIHtHt ^ RIHt ^ RIt	^ RIH
t
 ^ RIt^ RIHtHt ^ RIHt ^ R	IHt ^ R
IHtHt ^ RIHt ^ RIt^ RIHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t* ^ RI+H,t- ^ RI.H/t/H0t0H1t1 ^ RI2H3t3  ! R R4      t4 ! R R4      t5 ! R R4      t6R t7]Pp                  Ps                  R^ ^ /]	Pt                  ! ^ ..]	Pv                  R7      3RR/]	Pt                  ! R..]<R7      3^^/]	Pt                  ! ^..]	Pv                  R7      3.4      R 4       t=R t>]Pp                  Ps                  R^]?! R4      ^.R]?! R4      R ..4      R 4       t@R tAR# )!    )OrderedDictIterator)datetime	timedelta)tzoffsetN)ma)iNaTlib)HAS_PYARROW)np_version_gt2)IntCastingNaNErrorPandas4Warning)CategoricalDtype)Categorical	DataFrameDatetimeIndexDatetimeTZDtypeIndexIntervalIntervalIndex
MultiIndexNaTPeriod
RangeIndexSeries	Timestamp
date_rangeisnaperiod_rangetimedelta_range)IntegerArrayIntervalArrayperiod_array)
NumpyBlockc                     a  ] tR t^7t o R tR tR tR tR t]	P                  P                  RR R R	 R
 R R R R R R R .4      ]	P                  P                  RR. .4      R 4       4       tR tR tR tR tR tR t]	P                  P                  R]]].4      R 4       t]	P                  P                  R]P0                  ]! R4      .4      R 4       t]	P                  P                  R . RO4      ]	P                  P                  R!R]! . 4      .4      R" 4       4       tR# tR$ t]	P                  P                  R%. RO4      R& 4       tR' t R( t!R) t"R* t#R+ t$R, t%R- t&]	P                  P                  R . RO4      R. 4       t']	P                  P                  R/^^.R0R1.]! ](! R2^R3R47      4      ]! ](! R2^R3R5R67      4      ])! ^ ^R77      ..4      R8 4       t*R9 t+R: t,R; t-R< t.R= t/R> t0R? t1R@ t2RA t3RB t4RC t5RD t6RE t7RF t8RG t9RH t:RI t;]	P                  P                  RJ. ROR]! ]<! ^4      4      ]=! . RO4      RK ]<! ^4       4       RL ]<! ^4       4       .4      RM 4       t>RN t?RO t@RP tARQ tBRR tC]	P                  P                  R!](! RS^R5RT7      ](! RS^RU7      ]D! RV^RU7      ]E! RW^RXR47      ]! ]! RY4      4      ]! . RO4      ]F! ^ ^4      .RZ R[7      R\ 4       tGR] tHR^ tIR_ tJR` tKRa tL]	P                  P                  Rb]P                  ! ^.]P                  Rc7      ]P                  ! ^.]P                  Rc7      ]P                  ! ^.]P                  Rc7      ]P                  ! ^4      .]P                  ! ^4      .]P                  ! ^4      ..4      Rd 4       tQRe tRRf tSRg tTRh tURi tVRj tWRk tXRl tYRm tZRn t[Ro t\Rp t]Rq t^Rr t_Rs t`Rt taRu tbRv tcRw tdRx teRy tfRz tgR{ thR| tiR} tjR~ tkR tl]	P                  P                  R]P                  ]P                  .4      ]	P                  P                  RRR.4      ]	P                  P                  R. RO4      R 4       4       4       to]	P                  P                  RR]p]P0                  R.4      R 4       tqR tr]	P                  P                  R]s]t.4      R 4       tu]	P                  P                  R]]P                  .RR.R[7      R 4       tv]	P                  P                  R]]P                  .RR.R[7      R 4       twR tx]	P                  P                  R]]P                  .RR.R[7      R 4       ty]	P                  P                  RR7      R 4       t{R t|R t}R t~R tR tR t]	P                  P                  R^]P0                  R]! R4      .4      R 4       tR tR tR tR tR t]	P                  P                  RR^R^/^^.RR.3R^R^/^^.RR.3.4      R 4       t]	P                  EP                  R4      R 4       tR tR tR tR tR tR tR tR tR t]	P                  P                  R!](! R^
RU7      ]D! RV^
RU7      ]E! R^
RXR47      .R R[7      R 4       t]	P                  P                  R!](! R^
RU7      ]D! RV^
RU7      ]E! R^
RXR47      .R R[7      R 4       t]	P                  P                  R ]EP,                  ]EP.                  .4      R 4       t]	P                  P                  R. RO4      ]	P                  P                  RRR.4      R 4       4       t]	P                  P                  R . RO4      R 4       tR tR t]	P                  P                  RRR.4      R 4       tR tR t]	P                  P                  RR ]EP,                  .4      R 4       tR tR tR tR tR t]	P                  P                  RRRRRRR/R3ER RERR/R3RRRRRRRR/R3.4      R 4       tR tR tR tR tR tR tR tR tR tR t]	P                  EP                  R4      ]	P                  P                  R]]]]P                  .4      R 4       4       tR tR t]	P                  P                  R^R.4      R 4       t]	P                  P                  R^R.4      R 4       tR tR tR tR t]	P                  P                  RR]P0                  ]EPz                  .4      R 4       tR tR tR tR tR t]	P                  P                  R]].4      R 4       tRtV tR# (  TestSeriesConstructorsc                    \         P                  ! ^
4      pV! VRR7      pV! VP                  R4      4      p\        P                  ! W44       V! \        V4      RR7      p\        P                  ! W44       R# )
   M8[s]dtypeN)nparangeastypetmassert_equallist)selfindex_or_seriesvaluesresexpecteds   &&   u/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/series/test_constructors.py'test_from_ints_with_non_nano_dt64_dtype>TestSeriesConstructors.test_from_ints_with_non_nano_dt64_dtype8   sV    2fG4"6==#9:
&d6l':
&    c                    \        R .RR7      pVP                  4       P                  4       '       g   Q hVP                  R8X  g   Q hR # )Nzinterval[datetime64[ns]]r+   zinterval[datetime64[ns], right])r   r   allr,   r3   sers   & r8   1test_from_na_value_and_interval_of_datetime_dtypeHTestSeriesConstructors.test_from_na_value_and_interval_of_datetime_dtypeB   s=    dV#=>xxz~~yy====r;   c                (   \        R ^^4      pVP                  4       VP                  4       .p\        V4      p\        V\        R7      p\
        P                  ! W44       \        V4      p\        V\        R7      p\
        P                  ! WT4       R# )i  r+   N)	r   to_pydatetimedater   objectr0   assert_series_equalr   assert_index_equal)r3   tsvalsr?   r7   idxs   &     r8   !test_infer_with_date_and_datetime8TestSeriesConstructors.test_infer_with_date_and_datetimeH   sq     tQ"  "BGGI.Tl$f-
s-DkV,
c,r;   c           	     z   R .pRp\         P                  ! \        VR7      ;_uu_ 4        \        VRR7       RRR4       \         P                  ! \        VR7      ;_uu_ 4        \        \        P
                  ! V\        R7      RR7       RRR4       R#   + '       g   i     Lf; i  + '       g   i     R# ; i)aaz5^Unknown datetime string format, unable to parse: aa$matchdatetime64[ns]r+   N)pytestraises
ValueErrorr   r-   arrayrE   r3   rI   msgs   &  r8   'test_unparsable_strings_with_dt64_dtype>TestSeriesConstructors.test_unparsable_strings_with_dt64_dtypeV   su    vE]]:S114/0 2 ]]:S11288D/7GH 21 21 211s   B$(B)B&	)B:	c                    \        \        \        R ^^4      .RR7      pRp\        P                  ! \
        VR7      ;_uu_ 4        \        VRR7       RRR4       R#   + '       g   i     R# ; i)i  rQ   r+   z6^Cannot cast DatetimeArray to dtype timedelta64\[ns\]$rO   timedelta64[ns]N)r   r   r   rR   rS   	TypeErrorrV   s   &  r8   3test_invalid_dtype_conversion_datetime_to_timedeltaJTestSeriesConstructors.test_invalid_dtype_conversion_datetime_to_timedelta`   sM    sIdAq12:JKG]]9C00401 1000s   AA.	constructorc                    \        V R 7      # indexr   rJ   s   &r8   <lambda>TestSeriesConstructors.<lambda>n   s	    c*r;   c                    \        R V R7      # )Nrb   rd   re   s   &r8   rf   rg   o   s    C0r;   c                    \        / V R 7      # ra   rd   re   s   &r8   rf   rg   p       #.r;   c                    \        RV R 7      # )rb    rd   re   s   &r8   rf   rg   q   rj   r;   c                    \        . V R 7      # ra   rd   re   s   &r8   rf   rg   r   rj   r;   c                *    \        R  R 4       V R7      # )c              3   $   "   T F  qx  K  	  R # 5iNrl   .0_s   & r8   	<genexpr>2TestSeriesConstructors.<lambda>.<locals>.<genexpr>s   s     BqB   rb   rl   rd   re   s   &r8   rf   rg   s   s    Bs;r;   c                    \        R V R7      # )Ndatarc   rd   re   s   &r8   rf   rg   t   s    T5r;   c                    \        / V R 7      # rx   rd   re   s   &r8   rf   rg   u       Rs3r;   c                    \        RV R 7      # )rx   rl   rd   re   s   &r8   rf   rg   v   r|   r;   c                    \        . V R 7      # r{   rd   re   s   &r8   rf   rg   w   r|   r;   c                *    \        R  R 4       V R7      # )c              3   $   "   T F  qx  K  	  R # 5irp   rl   rq   s   & r8   rt   ru   x   s     _Aarv   rx   rl   rd   re   s   &r8   rf   rg   x   s    __C@r;   empty_indexNc                    \        VR 7      pV! V4      pVP                  \        8X  g   Q h\        VP                  4      ^ 8X  g   Q h\
        P                  ! WCRR7       R# )rb   Tcheck_index_typeN)r   r,   rE   lenrc   r0   rF   )r3   r_   r   r7   results   &&&  r8   test_empty_constructor-TestSeriesConstructors.test_empty_constructorg   sQ    . ,[)||v%%%6<< A%%%
v$Gr;   c           	         R p\         R\        .pV F>  p\        P                  ! \        VR7      ;_uu_ 4        \        . RVR7       RRR4       K@  	  R#   + '       g   i     KU  ; i)znot understoodr   rO   time)namer,   N)r   r2   rR   rS   r\   r   )r3   rW   invalid_listr,   s   &   r8   test_invalid_dtype)TestSeriesConstructors.test_invalid_dtype   sL    !;5!Ey44re4 54 "444s   AA'c                
   \         P                  ! RR	.4      p\         P                  ! R
R.VR7      p\        P                  ! \
        RR7      ;_uu_ 4        \        VRR.R7       RRR4       R#   + '       g   i     R# ; i)ar+   zUse DataFrame insteadrO   ABrb   N)r   i8)bf4)   g?)   i)r-   r,   rU   rR   rS   rT   r   )r3   c_dtypecdt_arrs   &  r8   test_invalid_compound_dtype2TestSeriesConstructors.test_invalid_compound_dtype   sZ    ((K56((Hj1A]]:-DEE73*- FEEEs   A11B	c                L    \        R 4      p\        V\        4      '       d   Q hR# )g      ?N)r   
isinstancefloat)r3   scalars   & r8   test_scalar_conversion-TestSeriesConstructors.test_scalar_conversion   s!    fe,,,,,r;   c                    Vw  r#\        V\        ^4      R7      p\        V.^,          VR7      pVP                  V8X  g   Q h\        P                  ! WE4       R# )   rb   r+   N)r   ranger,   r0   rF   )r3   ea_scalar_and_dtype	ea_scalarea_dtyper?   r7   s   &&    r8   test_scalar_extension_dtype2TestSeriesConstructors.test_scalar_extension_dtype   sN     2	YeAh/9+/:yyH$$$
s-r;   c                   \        4       pVP                  P                  '       g   Q h\        V4      pVP                  P                  '       g   Q h\        P                  ! VP                  VP                  4       \        VP                  4      \        VP                  4      8X  g   Q h\        R \        P                  .^ ^.R7      pV'       g"   VP                  \        P                  8X  g   Q h \        P                  ! V^,          4      '       g   Q hVP                  P                  '       d   Q h\        4       P                  P                  '       d   Q h\        P                  ! \        RR7      ;_uu_ 4        \        \        P                  P                  ^4      P!                  R4      \        P"                  ! ^4      R7       RRR4       RVn        \        V4      P$                  pRpWg8X  g   Q h\&        P(                  ! ^^.^^..4      pRp	\        P                  ! \*        V	R7      ;_uu_ 4        \        V4       RRR4       R#   + '       g   i     L; i  + '       g   i     R# ; i)hellorb   zAData must be 1-dimensional, got ndarray of shape \(3, 3\) insteadrO   Nr   z8initializing a Series from a MultiIndex is not supported)r   r   )r   rc   _is_all_datesr0   rG   idr-   nanr,   object_isnanrR   rS   rT   randomdefault_rngstandard_normalr.   r   r   from_arraysNotImplementedError)
r3   datetime_seriesusing_infer_stringempty_seriesderivedmixedrsxpmrW   s
   &&&       r8   test_constructor'TestSeriesConstructors.test_constructor   s   x$$22222 )}}*****
gmm_-B-BC/''(Bw}},==== (A70Bu{{bjj(MMxxa!!!!%%333338>>///// ]]V
 
 299((+;;FC299UV<X	
 
E]xx ""QFQF#34H]].c::1I ;:
 
 ;::s   AI I)I&	)I:	c                    \        ^^.^^.^^... ROR7      p\        P                  ! \        RR7      ;_uu_ 4        \	        . ROVR7       RRR4       R#   + '       g   i     R# ; i)r   rb   z Index data must be 1-dimensionalrO   N)r      	   r   r      )r   rR   rS   rT   r   )r3   dfs   & r8   'test_constructor_index_ndim_gt_1_raises>TestSeriesConstructors.test_constructor_index_ndim_gt_1_raises   sM    AAA/yA]]:-OPP9B' QPPPs   AA(	input_classc                b   \        4       p\        V! 4       4      p\        P                  ! W4R R7       \        RR7      p\        V! 4       RR7      p\        P                  ! W4R R7       \        RR7      p\        V! 4       RR7      p\        P                  ! W4R R7       V\        JEd   \        \	        ^
4      R7      p\        V! 4       \	        ^
4      R7      p\        P                  ! W44       \        \
        P                  \	        ^
4      R7      p\        V! 4       \	        ^
4      RR7      p\        P                  ! W44       \        R\        \	        ^4      R7      pV'       d   \        R\	        ^4      R	R7      pM\        R\	        ^4      R7      p\        P                  ! W44       R
# R
# )Fr   float64r+   categoryrb   rc   r,    r,   rc   strN)r   r0   rF   r2   r   r-   r   r   )r3   r   r   emptyempty2s   &&&  r8   test_constructor_empty-TestSeriesConstructors.test_constructor_empty   s5   & 	uuE Y'Y7
uuE Z(Z8
uuEd"r+EKMr;F""51 266r3EKMr)LF""51 2Sa9E!%(%@%(3""51# #r;   	input_argr   c                    \        R \        ^
4      R7      p\        V\        ^
4      R7      p\        P                  ! W#RR7       R# )r   r   rb   Fr   Nr   r   r0   rF   )r3   r   r   r   s   &&  r8   test_constructor_nan+TestSeriesConstructors.test_constructor_nan   s2    YeBi8	r3
uuEr;   r,   rc   c                h    \        WR 7      pVP                  V8X  g   Q h\        V4      ^ 8X  g   Q hR# )r   N)r   r,   r   )r3   r,   rc   r   s   &&& r8   test_constructor_dtype_only2TestSeriesConstructors.test_constructor_dtype_only   s2     e1||u$$$6{ar;   c                h    \        . ROR7      pVP                  P                  4       . RO8X  g   Q hR# )r   rb   N)r   r   c)r   rc   tolistr3   r   s   & r8   $test_constructor_no_data_index_order;TestSeriesConstructors.test_constructor_no_data_index_order	  s'    o.||""$777r;   c                    \        ^.\        R7      p\        P                  ! VP                  ^ ,          4      '       g   Q hR# r   r   N)r   r   r-   r   ilocr   s   & r8   $test_constructor_no_data_string_type;TestSeriesConstructors.test_constructor_no_data_string_type  s-    qc-xxA''''r;   itemc                r    \        V^.\        R7      pVP                  ^ ,          \        V4      8X  g   Q hR# r   )r   r   r   )r3   r   r   s   && r8   +test_constructor_string_element_string_typeBTestSeriesConstructors.test_constructor_string_element_string_type  s.     QCs3{{1~T***r;   c                P   \        R R.VR7      pVP                  4       p\        RR.4      p\        P                  ! W44       VP                  ^,          e   Q h\        R \
        P                  .VR7      p\
        P                  ! VP                  ^,          4      '       g   Q hR# )xNr+   FT)r   r   r0   rF   r   r-   r   r   )r3   string_dtyper?   r   r7   s   &&   r8   $test_constructor_dtype_str_na_values;TestSeriesConstructors.test_constructor_dtype_str_na_values  s~    c4[55$-(
v0xx{"""c266],7xx$$$$r;   c                    . ROp\        V4      p\        . ROVR7      p\        W2R7      p\        P                  ! WCP	                  4       4       R# )drb   N)r   r   r   r   )      r   )sortedr   r0   rF   
sort_index)r3   index1index2s1s2s   &    r8   test_constructor_series.TestSeriesConstructors.test_constructor_series#  s:    %M0B%
r==?3r;   c                     ! R  R4      p\        \        \        ^
4      4      RR7      p\        V! 4       RR7      p\        P                  ! W24       R# )c                   2   a  ] tR tRt o V 3R lR ltRtV tR# )>TestSeriesConstructors.test_constructor_iterable.<locals>.Iteri-  c                    < V ^8  d   QhRS[ /# )r   returnr   )format__classdict__s   "r8   __annotate__KTestSeriesConstructors.test_constructor_iterable.<locals>.Iter.__annotate__.  s     % %( %r;   c              3  8   "   \        ^
4       Rj  xL
  R#  L5i)r)   N)r   r3   s   &r8   __iter__GTestSeriesConstructors.test_constructor_iterable.<locals>.Iter.__iter__.  s      9$$s   rl   N)__name__
__module____qualname____firstlineno__r  __static_attributes____classdictcell__r  s   @r8   Iterr   -  s     % %r;   r  int64r+   Nr   r2   r   r0   rF   )r3   r  r7   r   s   &   r8   test_constructor_iterable0TestSeriesConstructors.test_constructor_iterable+  s>    	% 	% $uRy/9g.
v0r;   c                    \        \        \        ^
4      4      RR7      p\        \        ^
4      RR7      p\        P                  ! W!4       R# )r)   r  r+   Nr  r3   r7   r   s   &  r8   test_constructor_sequence0TestSeriesConstructors.test_constructor_sequence5  s4    $uRy/9b	1
v0r;   c                `    \        R .4      p\        R 4      p\        P                  ! W!4       R# )abcNr   r0   rF   r  s   &  r8   test_constructor_single_str2TestSeriesConstructors.test_constructor_single_str;  s$    5'?
v0r;   c                    \        . RORR7      p. ROR\        P                  ! . RORR7      3 F(  p\        V. ROR7      p\        P                  ! W14       K*  	  R# )r   r  r+   rb   Nr   r   r   r   r   r   )r   r-   rU   r0   rF   )r3   r7   objr   s   &   r8   test_constructor_list_like1TestSeriesConstructors.test_constructor_list_likeA  sG     )73y"((9G*LMCCy1F""64 Nr;   c                    \        . RO. ROR7      pV^8H  p\        . ROVR7      p\        . RO. ROR7      p\        P                  ! W44       R# )r   rb   Nr   )r      r   r   )FTFr  )r3   r   rc   r   r7   s   &    r8   test_constructor_boolean_index5TestSeriesConstructors.test_constructor_boolean_indexJ  s>    IY/a	/)+?@
v0r;   c                \    \        \        . RO4      VR7      pVP                  V8X  g   Q hR# )r   r+   N)r   r   r   )r   r   r,   )r3   r,   ss   && r8   test_constructor_index_dtype3TestSeriesConstructors.test_constructor_index_dtypeS  s'     5#51ww%r;   
input_vals12z1/1/2011hperiodsfreq
US/Eastern)r2  r3  tz)leftrightc                ~    \        WR 7      p\        V4      P                  V4      p\        P                  ! W44       R# r+   Nr   r/   r0   rF   )r3   r-  r   r   r7   s   &&&  r8   test_constructor_list_str0TestSeriesConstructors.test_constructor_list_strZ  s1     
7*%,,\:
v0r;   c                    \        R R\        P                  .VR7      p\        RR\        P                  .\        R7      p\        P
                  ! W#4       \        P                  ! V^,          4      '       g   Q hR# )      ?       @r+   z1.0z2.0N)r   r-   r   rE   r0   rF   r   )r3   r   r   r7   s   &&  r8   test_constructor_list_str_na3TestSeriesConstructors.test_constructor_list_str_nal  sW    c266*,?5%0?
v0xxq	""""r;   c                4   R  \        ^
4       4       p\        V4      p\        \        ^
4      4      p\        P                  ! W#4       R \        ^
4       4       p\        V\        ^
^4      R7      p\        ^
^4      Vn        \        P                  ! W#4       R# )c              3   $   "   T F  qx  K  	  R # 5irp   rl   rr   is   & r8   rt   DTestSeriesConstructors.test_constructor_generator.<locals>.<genexpr>s       $)Qq)rv   c              3   $   "   T F  qx  K  	  R # 5irp   rl   rD  s   & r8   rt   rF  z  rG  rv   rb   Nr   r   r0   rF   rc   )r3   genr   exps   &   r8   test_constructor_generator1TestSeriesConstructors.test_constructor_generatorr  sr    $%)$U2Y
v+ %%)$5R=1"bM	
v+r;   c                4   R  \        ^
4       4       p\        V4      p\        \        ^
4      4      p\        P                  ! W#4       R \        ^
4       4       p\        V\        ^
^4      R7      p\        ^
^4      Vn        \        P                  ! W#4       R# )c              3   $   "   T F  qx  K  	  R # 5irp   rl   rr   r   s   & r8   rt   >TestSeriesConstructors.test_constructor_map.<locals>.<genexpr>       "	1Q	rv   c              3   $   "   T F  qx  K  	  R # 5irp   rl   rP  s   & r8   rt   rQ    rR  rv   rb   NrI  )r3   r   r   rK  s   &   r8   test_constructor_map+TestSeriesConstructors.test_constructor_map  sr    "b	"U2Y
v+ #b	"r2/"bM	
v+r;   c                |   R p\         P                  ! \        VR7      ;_uu_ 4        \        . RO. RO4      pRRR4       \	        X4      p\         P
                  ! VP                  V4       \	        \        . RO4      RR7      p\	        . RORR7      p\         P                  ! WE4       R#   + '       g   i     L{; i)z=Constructing a Categorical with a dtype and values containingrO   Nr  r+   )r   r   r   r   r   r   r   r   r   r   )r0   assert_produces_warningr   r   r   assert_categorical_equalr5   rF   )r3   rW   catr6   r   r7   s   &     r8   test_constructor_categorical3TestSeriesConstructors.test_constructor_categorical  s    M''cBB0/BC CSk
##CJJ4 I.g>)73
v0 CBs   B++B;	c                z    \        \        . RO4      RR7      p\        VP                  \        4      '       g   Q hR# r   r   r+   Nr   )r   r   r   r,   r   r>   s   & r8   *test_construct_from_categorical_with_dtypeATestSeriesConstructors.test_construct_from_categorical_with_dtype  s+    [+:>#))%56666r;   c                h    \        . RORR7      p\        VP                  \        4      '       g   Q hR# r^  )r   r   r,   r   r>   s   & r8   ,test_construct_intlist_values_category_dtypeCTestSeriesConstructors.test_construct_intlist_values_category_dtype  s&    Yj1#))%56666r;   c                   \        . R	O4      p\        VRR7      pVP                  R8X  g   Q h\        V4      \        V4      8X  g   Q h\	        RV/4      pVR,          p\
        P                  ! WB4       VP                  R
,          p\
        P                  ! WB4       \        V4      \        V4      8X  g   Q h\	        RV/4      pVR,          p\
        P                  ! WB4       \        V4      \        V4      8X  g   Q h\	        RVRVR^/4      pVR,          pVR,          p\
        P                  ! WR4       \
        P                  ! WbRR7       VP                  R8X  g   Q h\        V4      \        V4      8X  g   Q hR# )r   r   r   r   r   CF)check_namesN)r   r   r   r   r   r   r   r   ):NNNr   )	r   r   r,   r   r   r0   rF   r   r   )r3   factorr*  r   r   result1result2s   &      r8   *test_constructor_categorical_with_coercionATestSeriesConstructors.test_constructor_categorical_with_coercion  sE   EF6$ww*$$$1vV$$$ V}%C
v)
v)2w#f+%%%Qx C
v)2w#f+%%% QQQ/0S'S'
w*
wu=||s"""2w#f+%%%r;   c                j   \        ^R.^R.^R..RR.R7      p\        VP                  4      VR&   VP                  ^ ,          P                  pVP                  P                  ^ ,          pW28X  g   Q hVP                  ^ ,          pW28X  g   Q hVP                  P                  ^ ,          pW28X  g   Q hR# )r   zJohn P. Doez	Jane Dove	person_idperson_name)columnsN)r   r   ro  r   loc)r3   r   r7   r   s   &   r8   +test_constructor_categorical_with_coercion2BTestSeriesConstructors.test_constructor_categorical_with_coercion2  s    ![!1A}3EF -0
 'q}}5-66!9((##A&!!!q!!!!""1%!!!r;   c                    \        . RO4      p\        VRR7      p\        . RORR7      p\        P                  ! W#4       R# )r   r   r+   NrW  r  )r3   seriesr   r7   s   &   r8   &test_constructor_series_to_categorical=TestSeriesConstructors.test_constructor_series_to_categorical  s2    (j1/<
v0r;   c           	        \        R R.\        . RORR7      R7      p\        VP                  \        4      '       g   Q h\        P
                  ! VP                  P                  \        . RO4      4       VP                  P                  '       g   Q h\        R R.\        RR .4      R7      p\        VP                  \        4      '       g   Q h\        P
                  ! VP                  P                  \        RR .4      4       VP                  P                  RJ g   Q h\        R ^ ^.\        R R.RR7      R7      p\        R R .^ ^.\        R R.RR7      R7      p\        P                  ! W4       R# )	r   r   T)orderedr+   Fr   NrW  )r   r   r   r,   r0   rG   rZ  
categoriesr   ry  rF   r3   r   r7   s   &  r8   "test_constructor_categorical_dtype9TestSeriesConstructors.test_constructor_categorical_dtype  s4   #J.M
 &,,(89999
fjj33U?5KLzz!!!!!c
*:C:*FG&,,(89999
fjj33UC:5FGzz!!U*** 1v%5sCj$%O
 #Jq!f,<c3ZQU,V
 	v0r;   c                   \        \        R 4      RR7      p\        \        R4      VR7      p\        \        R4      VR7      p\        VRR7      p\        P
                  ! WB4       \        VRR7      p\        P
                  ! WB4       R# )dabcT)rz  ry  abcabcr+   r   N)r   r2   r   r   r0   rF   )r3   cdtr7   rZ  r   s   &    r8   #test_constructor_categorical_string:TestSeriesConstructors.test_constructor_categorical_string  sj    $v,E$x.4 $x.4:.
v0 j1
v0r;   c                   \        . RO4      p\        VRR7      pVP                  VJg   Q hVP                  P                  . RO4      p\        P
                  ! . RO\        P                  R7      p\        P
                  ! . RO\        P                  R7      p\        P                  ! VP                  4       V4       \        P                  ! VP                  4       V4       ^V^ &   \        P
                  ! . R	O\        P                  R7      p\        P                  ! VP                  4       V4       \        P                  ! VP                  4       V4       \        . RO4      p\        VRR7      pVP                  VJ g   Q hVP                  P                  . RO4      pVP                  VJg   Q h\        P
                  ! . RO\        P                  R7      p\        P                  ! VP                  4       V4       ^V^ &   \        P
                  ! . R	O\        P                  R7      p\        P                  ! VP                  4       V4       R# )
r   T)copyr+   FN)r   r   r   r   r   )r   r   r   r   )r   r   r   r   )r   r   rZ  rename_categoriesr-   rU   r  r   r0   assert_numpy_array_equal	__array___values)r3   rZ  r*  exp_sexp_catexp_s2s   &     r8   !test_categorical_sideeffects_free8TestSeriesConstructors.test_categorical_sideeffects_free  s    ./3T"uuCEE##I.RXX6((/rzzB
##AKKM59
##CMMOW= !,bhh7
##AKKM6:
##CMMOW= ./3U#yyCEE##I.yy###RXX6
##AKKM59!,bhh7
##AKKM6:r;   c                    \        . RO\        R R.4      R7      p\        \        R R\        P                  .R R.R7      4      p\
        P                  ! W4       R# )r   r   Nr+   )rz  r   r   N)r   r   r   r-   r   r0   rF   )r3   r6  r7  s   &  r8   test_unordered_compare_equal3TestSeriesConstructors.test_unordered_compare_equal  sG    &.>Sz.JK{Cbff#53*MN
t+r;   c           	     t	   \         P                  ! R\        R7      p\        V4      p\        \        P
                  \        P
                  \        P
                  .4      p\        P                  ! W#4       RV^ &   RV^&   . ROp\        WR7      p\        R\        P
                  R.VR7      p\        P                  ! W#4       RV^&   \        WR7      p\        . ROVR7      p\        P                  ! W#4       \         P                  ! R\        R7      p\        V4      p\        \        P
                  \        P
                  \        P
                  .\        R7      p\        P                  ! W#4       ^ V^ &   ^V^&   . ROp\        WR7      p\        ^ \        P
                  ^.V\        R7      p\        P                  ! W#4       ^V^&   \        WR7      p\        . ROV\        R7      p\        P                  ! \        RR7      ;_uu_ 4        \        P                  ! W#4       R	R	R	4       \         P                  ! R\        R7      p\        V4      p\        \        P
                  \        P
                  \        P
                  .\        R7      p\        P                  ! W#4       R
V^ &   RV^&   . ROp\        WR7      p\        R
\        P
                  R.V\        R7      p\        P                  ! W#4       R
V^&   \        WR7      p\        . ROV\        R7      p\        P                  ! \        RR7      ;_uu_ 4        \        P                  ! W#4       R	R	R	4       \         P                  ! RRR7      p\        V4      p\        \        \        \        .RR7      p\        P                  ! W#4       \        R^^4      V^ &   \        R^^4      V^&   . ROp\        WR7      p\        \        R^^4      \        \        R^^4      .VRR7      p\        P                  ! W#4       \        R^^4      V^&   \        WR7      p\        \        R^^4      \        R^^4      \        R^^4      .VRR7      p\        P                  ! W#4       R	#   + '       g   i     ELs; i  + '       g   i     ELQ; i)r   r+           r?  rb   r>  r   zSeries classes are differentrO   NTFM8[ns]  r   rW  )r  r>  r?  r!  TTF)r	   
masked_allr   r   r-   r   r0   rF   intrR   rS   AssertionErrorboolrE   r
   r   )r3   ry   r   r7   rc   s   &    r8   test_constructor_maskedarray3TestSeriesConstructors.test_constructor_maskedarray$  s   }}T/26626626623
v0QQ*3,E:
v0Q*/7
v0}}T-2662662662%@
v0QQ*1bffa.UC
v0Q*)5<]]>1OPP ""64 Q
 }}T.2662662662&A
v0QQ*4/uFK
v0Q*-U$G]]>1OPP ""64 Q
 }}T24t,H=
v04A&Q4A&Q*dAq!4$1)=>

 	v04A&Q*dAq!8D!Q#7$19MN

 	v0a QPP( QPPs   RR&R#	&R7	c                   \         P                  ! R\        R7      P                  4       p\	        V4      p\	        \
        P                  \
        P                  \
        P                  .4      p\        P                  ! W#4       R# )r   r+   Nr  )	r	   r  r   harden_maskr   r-   r   r0   rF   r3   ry   r   r7   s   &   r8   %test_constructor_maskedarray_hardened<TestSeriesConstructors.test_constructor_maskedarray_hardenedw  sO    }}T/;;=26626626623
v0r;   c                    \        R RRR7      p\        P                  V^4      p\        W!R7      pVP                  P                  V4      '       g   Q hR# )2009041520090519r   r3  rb   N)r   dictfromkeysr   rc   is_)r3   rngry   r   s   &   r8   #test_series_ctor_plus_datetimeindex:TestSeriesConstructors.test_series_ctor_plus_datetimeindex~  sE    Zc:}}S!$(||$$$$r;   c                    \        . RO4      p\        P                  ! VP                  \	        \        ^4      4      RR7       R# )r   T)exactNr!  )r   r0   rG   rc   r   r   r3   r*  s   & r8   test_constructor_default_index5TestSeriesConstructors.test_constructor_default_index  s*    9
agguU1XdCr;   inputc              #  $   "   T F  qx  K  	  R # 5irp   rl   rD  s   & r8   rt    TestSeriesConstructors.<genexpr>       !1Qrv   c              #  $   "   T F  qx  K  	  R # 5irp   rl   rP  s   & r8   rt   r    r  rv   c                    R p\         P                  ! \        VR7      ;_uu_ 4        \        V\        P
                  ! ^4      R7       RRR4       R#   + '       g   i     R# ; i)z;Length of values \(3\) does not match length of index \(4\)rO   rb   N)rR   rS   rT   r   r-   r.   )r3   r  rW   s   && r8   test_constructor_index_mismatch6TestSeriesConstructors.test_constructor_index_mismatch  s<     M]]:S115		!- 2111s   "AA$	c                    \        \        P                  ! ^d4      \        P                  ! ^4      RR7      p\        ^d\        P                  ! ^4      RR7      p\        P
                  ! W4       R# )d   r  r   N)r   r-   rU   r.   r0   rF   r{  s   &  r8   test_constructor_numpy_scalar4TestSeriesConstructors.test_constructor_numpy_scalar  sF     RYYq\I#RYYq\A
v0r;   c                    R p\         P                  ! \        VR7      ;_uu_ 4        \        R.. ROR7       RRR4       R#   + '       g   i     R# ; i)z;Length of values \(1\) does not match length of index \(3\)rO   foorb   NrW  )rR   rS   rT   r   r3   rW   s   & r8   test_constructor_broadcast_list6TestSeriesConstructors.test_constructor_broadcast_list  s6     M]]:S11E7/2 2111s   AA	c                    \        \        ^4      \        R^R7      R7      pW.p\        V^ ^.R7      p\	        V\        4      '       g   Q hR# )r&  
2020-01-01r2  rb   N)r   r   r   r   r   )r3   r   objsr*  s   &   r8   test_constructor_corner.TestSeriesConstructors.test_constructor_corner  sC    uQxz,'JKx41v&!V$$$$r;   c           	        \        \        P                  ! . RO4      RR7      pVP                  \        P                  ! R4      8X  g   Q hRp\        P
                  ! \        VR7      ;_uu_ 4        \        \        P                  ! R R \        P                  .4      RRR7       RRR4       R#   + '       g   i     R# ; i)	r>  r   r+   9Cannot convert non-finite values \(NA or inf\) to integerrO   Tr  r,   N)r>  r>  g       @)r   r-   rU   r,   rR   rS   r   r   )r3   r*  rW   s   &  r8   test_constructor_sanitize0TestSeriesConstructors.test_constructor_sanitize  sw    288O,D9ww"((4.(((J]]-S99288S#rvv./d$G :999s   14B//C 	c                *   R .\         P                  ! R .4      3 Ft  p\        V4      p\        VR\        R7      p\        P
                  ! W#4       RV^ &   VP                  V4      '       d   Q hV^ ,          R8X  g   Q hV^ ,          R 8X  d   Kt  Q h	  R# )r>  Tr  r?  N)r-   rU   r   r   r0   rF   equals)r3   ry   r   ys   &   r8   test_constructor_copy,TestSeriesConstructors.test_constructor_copy  s     UBHHcUO,DtAqt51A ""1( AaDxx{{"?Q43;;Q43;; -r;   20170101r2  r5  r  z1 day2012Q1Qr  c                ,    \        V 4      P                  # rp   typer
  r   s   &r8   rf   rg         d1g&&r;   )idsc                v    \        V4      pVP                  P                  ^ ,          P                  VJg   Q hR# r   N)r   _mgrblocksr5   )r3   rc   r*  s   && r8   test_constructor_limit_copies4TestSeriesConstructors.test_constructor_limit_copies  s0      5M vv}}Q&&e333r;   c                    \        . RO4      pVP                  4       p\        V4      pVP                  VP                  Jg   Q h. ROVn        \        P
                  ! W4       R# )r   Nr   rW  )r   r  r  rc   r0   rF   )r3   r*  s_origr   s   &   r8   test_constructor_shallow_copy4TestSeriesConstructors.test_constructor_shallow_copy  sM     9AYwwaff$$$"
q)r;   c                   \        R \        ^4      R7      pVP                  \        P                  8X  g   Q h\        R \        ^4      \
        R7      pVP                  \        P                  8X  g   Q h\        \        P                  ! R .4      R7      p\        \        R .4      R7      p\        P                  ! W4       R # )Nrb   r   )r   r   r,   r-   r   rE   r   rU   r   r0   rF   r3   r*  r7   s   &  r8   test_constructor_pass_none1TestSeriesConstructors.test_constructor_pass_none  s    4uQx(ww"**$$$4uQxv6ww"**$$$ 4&)*tf.
q+r;   c                   \        \        P                  \        P                  .\        P                  R 7      pVP                  \        P                  8X  g   Q h\
        P                  ! \        \        P                  \        P                  .4      V4       \
        P                  ! \        \        P                  ! \        P                  \        P                  .4      4      V4       \        \        \        .4      pVP                  R8X  g   Q h\
        P                  ! \        \        \        .4      V4       \
        P                  ! \        \        P                  ! \        \        .4      4      V4       \
        P                  ! \        \        \        P                  .4      V4       \
        P                  ! \        \        P                  ! \        \        P                  .4      4      V4       \
        P                  ! \        \        P                  \        .4      V4       \
        P                  ! \        \        P                  ! \        P                  \        .4      4      V4       R# )r+   datetime64[s]N)	r   r-   r   r   r,   r0   rF   rU   r   )r3   rK  s   & r8   test_constructor_pass_nan_nat4TestSeriesConstructors.test_constructor_pass_nan_nat  sc   bffbff%RZZ8yyBJJ&&&
vrvvrvv&67=
vbhh/?&@A3Gc3Z yyO+++
vsCj137
vbhhSz&:;SA
vsBFFm4c:
vbhhRVV}&=>D
vrvvsm4c:
vbhh}&=>Dr;   c                    R p\         P                  ! \        VR7      ;_uu_ 4        \        . RO\        R7       RRR4       R#   + '       g   i     R# ; i)z!could not convert string to floatrO   r+   NrW  )rR   rS   rT   r   r   r  s   & r8   test_constructor_cast,TestSeriesConstructors.test_constructor_cast
  s1    1]]:S11?%0 2111s   AA	c                j   \         '       d
   R p\        pMRp\        p\        P                  ! W!R7      ;_uu_ 4        \        . RORR7       RRR4       \        P                  ! W!R7      ;_uu_ 4        \        . RORR7       RRR4       R#   + '       g   i     LI; i  + '       g   i     R# ; i)zCThe elements provided in the data cannot all be casted to the dtypez/Values are too large to be losslessly convertedrO   int8r+   Nuint8)r      i2 )r   OverflowErrorrT   rR   rS   r   )r3   rW   errs   &  r8   +test_constructor_signed_int_overflow_raisesBTestSeriesConstructors.test_constructor_signed_int_overflow_raises  ss    >WCCCCC]]3**#62 + ]]3**#73 +* +* +**s   B4B!B	!B2	r5   r+   c                    V^ ,          p\        V4      pV^ ,          P                  VP                  8X  g   Q hV^ ,          V8X  g   Q hR# r  )r   r,   )r3   r5   valuer   s   &&  r8   test_constructor_numpy_uints3TestSeriesConstructors.test_constructor_numpy_uints  sB     q	ay%++---ayE!!!r;   c                    \         '       d   R V 2pMRp\        P                  ! \        VR7      ;_uu_ 4        \	        R.VR7       RRR4       R#   + '       g   i     R# ; i)zDThe elements provided in the data cannot all be casted to the dtype z5Trying to coerce negative values to unsigned integersrO   r+   N)r   rR   rS   r  r   )r3   any_unsigned_int_numpy_dtyperW   s   && r8   (test_constructor_unsigned_dtype_overflow?TestSeriesConstructors.test_constructor_unsigned_dtype_overflow0  sR    >..J-KM 
 JC]]=44B4;< 5444s   AA#	c                $   \         P                  P                  ^4      P                  ^4      pRp\        P
                  ! \        VR7      ;_uu_ 4        V! VRR7       RRR4       \        P
                  ! \        VR7      ;_uu_ 4        V! \        V4      RR7       RRR4       \         P                  V^ &   Rp\        P
                  ! \        VR7      ;_uu_ 4        V! VRR7       RRR4       \        pV\        J d	   \        pRp\        P
                  ! WCR7      ;_uu_ 4        V! \        V4      RR7       RRR4       \         P                  ! RR	.R
R7      pV! VP                  R4      4      pV! VRR7      p\        P                  ! We4       V! \        V4      RR7      p\        P                  ! We4       R#   + '       g   i     ELl; i  + '       g   i     EL@; i  + '       g   i     EL; i  + '       g   i     L; i)r   (Trying to coerce float values to integerrO   r   r+   Nr  #cannot convert float NaN to integerr>  r?  r   )r-   r   r   r   rR   rS   rT   r2   r   r   r   rU   r/   r0   r1   )r3   frame_or_seriesarrrW   excr7   r"  s   &&     r8   (test_constructor_floating_data_int_dtype?TestSeriesConstructors.test_constructor_floating_data_int_dtype<  sk   ii##A&66q9 9]]:S11Ct, 2 ]]:S11DIT2 2 A K]]-S99Ct, : !f$C7C]]3**DIT2 +
 hhSz3"3::d#34c.
&d3it4
&? 211 211 :99 +*s0   GG!G++G?G	G(	+G<	?H	c                n   . ROpRp\         P                  ! \        VR7      ;_uu_ 4        \        W!R7       RRR4       \         P                  ! \        VR7      ;_uu_ 4        \        \        P
                  ! V4      VR7       RRR4       R#   + '       g   i     L`; i  + '       g   i     R# ; i)r   r  rO   r+   Nr   r   g      @)rR   rS   rT   r   r-   rU   r3   any_int_numpy_dtyperI   rW   s   &&  r8   "test_constructor_coerce_float_fail9TestSeriesConstructors.test_constructor_coerce_float_failh  sk    
 8]]:S1143 2]]:S11288D>)<= 21 21111s   B$"B#B 	#B4	c                    \        . ROVR7      p\        . RO4      P                  V4      p\        P                  ! W#4       R# )r   r+   Nr  r:  )r3   float_numpy_dtyper*  r7   s   &&  r8   #test_constructor_coerce_float_valid:TestSeriesConstructors.test_constructor_coerce_float_validu  s3    ;&78+&--.?@
q+r;   c                   ^^\         P                  .pRp\        P                  ! \        VR7      ;_uu_ 4        \        W!R7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        \         P                  ! V4      VR7       RRR4       R#   + '       g   i     Lb; i  + '       g   i     R# ; i)r   r  rO   r+   Nr  )r-   r   rR   rS   rT   r   r   rU   r  s   &&  r8   3test_constructor_invalid_coerce_ints_with_float_nanJTestSeriesConstructors.test_constructor_invalid_coerce_ints_with_float_nanz  s     1bff~ 4]]:S1143 2J]]-S99288D>)<= :9 21 :99s   B!5"B4!B1	4C	c                    \        . RO4      p\        V\        P                  R7      p^V^&   V^,          ^8X  g   Q hR# )r   r+   Nr   )r   r-   r  )r3   r*  r   s   &  r8   test_constructor_dtype_no_cast5TestSeriesConstructors.test_constructor_dtype_no_cast  s5    9ARXX&1tqyyr;   c                    \        \        R 4      R.\        R7      pVP                  ^ ,          \        R 4      8X  g   Q hVP                  ^,          R8X  g   Q hVP                  \        8X  g   Q hR# )20130101NOVr+   N)r   r   rE   r   r,   r  s   & r8   "test_constructor_datelike_coercion9TestSeriesConstructors.test_constructor_datelike_coercion  s]     Ij)51@vvayIj1111vvayE!!!ww&   r;   c                |   R P                  4       pRP                  4       pRP                  4       p\        P                  ! RP                  4       4      p\        RVRVRV/VR7      pVP                  R,          pVP
                  \        8X  g   Q hVP                  R	,          pVP
                  \        8X  g   Q hR
# )z216 3T19z	2T15 4H19z416 4T20z2016-01-22 2019-09-07wing1wing2matrb   3T19216N)splitpdto_datetimer   rq  r,   rE   )r3   bellyr"  r#  r$  r   r   s   &      r8   #test_constructor_datelike_coercion2:TestSeriesConstructors.test_constructor_datelike_coercion2  s       "!!#  "nn4::<=sC5Q||v%%%||v%%%r;   c                    \        ^	4      ^
\        P                  .pV! VRR7      pV! \        ^	4      \        ^
4      \        .4      p\        P                  ! W44       R# )r   r  r+   N)r   r   _valuer0   r1   )r3   r  r  r   r7   s   &&   r8   (test_constructor_mixed_int_and_timestamp?TestSeriesConstructors.test_constructor_mixed_int_and_timestamp  sG    !b#**- X6"IaL)B-#EF
)r;   c                   \         P                  ! R R R R \        P                  ! 4       R .4      \         P                  ! R R \        P                  ! 4       R .4      3 F!  p\	        V4      pVP
                  R8X  d   K!  Q h	  R # )NM8[us])r-   rU   r   nowr   r,   )r3   r  r   s   &  r8   %test_constructor_datetimes_with_nulls<TestSeriesConstructors.test_constructor_datetimes_with_nulls  sg     HHdD$hllndCDHHdD(,,.$78
C C[F<<8+++
r;   c           	        \        \        R \        ^4      R7      p\        V4      P	                  4       '       g   Q h\        \        \        ^4      R7      p\        V4      P	                  4       '       d   Q h\        \
        P                  R \        ^4      R7      p\        V4      P	                  4       '       g   Q h\        \        R^^^ ^ 4      \        .R R7      p\        V^,          4      '       g   Q hVP                  R 8X  g   Q h\        \        R^^^ ^ 4      \
        P                  .R R7      p\        V^,          4      '       g   Q hVP                  R 8X  g   Q hR# )r  r   rb   r  r+   N)	r   r
   r   r   r=   r-   r   r   r,   r  s   & r8   !test_constructor_dtype_datetime648TestSeriesConstructors.test_constructor_dtype_datetime64  s   4xuQx8Aw{{}}} 4uQx(7;;==  266q:Aw{{}}}HT1aA.5XFAaDzzzww("""HT1aA.7xHAaDzzzww("""r;   c           	        \        R ^^4      \        R ^^4      \        R ^^4      .pV Uu. uF  p\        P                  ! V4      NK  	  pp\        V4      pVP                  R8X  g   Q h\        P
                  VP                  ^ &   VP                  R8X  g   Q h\        VRR7      p\        \        V4      P                  \        P                  4      R,          RR7      p\        P                  ! We4       \        VRR7      p\        P                  ! We4       \        \        \        R ^^4      \        R ^^4      .RR7      p\        \        P
                  .VR,          ORR7      p\        P                  ! We4       R# u upi )	  r2  zdatetime64[ms]r+     M8[ms]rQ   r   NNN)r   r-   
datetime64r   r,   r   r   r/   r  r0   rF   r   )r3   pydatesr   datesr?   r7   r   s   &      r8   $test_constructor_dtype_datetime64_10;TestSeriesConstructors.test_constructor_dtype_datetime64_10  s<   D!Q'$1)=xaQR?ST+237aq!73UmyyH$$$ffyyH$$$ ')9:u,,RXX6=XN
v0%56
v0(4A&q!(<=EU
 ,%),4DE
v0+ 4s   Fc                :   \        R ^^4      \        R ^^4      \        R ^^4      .pV Uu. uF  p\        P                  ! V4      NK  	  pp\        VRR7      pVP	                  R4       Rp\
        P                  ! \        VR7      ;_uu_ 4        VP	                  R4       RRR4       \        V\        P                  R7      p\        VP	                  \        P                  4      4      p\        P                  ! Wg4       R# u upi   + '       g   i     Lp; i)r:  rQ   r+   r  z:Converting from datetime64\[ns\] to int32 is not supportedrO   int32N)r   r-   r>  r   r/   rR   rS   r\   r  r0   rF   )r3   r?  r   r@  dtsrW   r   r7   s   &       r8   $test_constructor_dtype_datetime64_11;TestSeriesConstructors.test_constructor_dtype_datetime64_11  s    D!Q'$1)=xaQR?ST+237aq!73U"23 	

7 L]]9C00JJw 1 288,#**RXX./
v0# 4 10s   DD

D	c                    \        \        ^^^4      .4      pV^ ,          \        ^^^^ ^ 4      8X  g   Q h\        \        R^^4      .4      pV^ ,          \        R^^^ ^ 4      8X  g   Q hR# )r   i  N)r   r   r   s   & r8   #test_constructor_dtype_datetime64_9:TestSeriesConstructors.test_constructor_dtype_datetime64_9  sl    !Q*+,ayHQ1a3333$1-./ayHT1aA6666r;   c                    \        \        R 4      ^.RR.R7      pVR,          \        R 4      8X  g   Q hVR,          ^8X  g   Q hR# )r  r   r   rb   N)r   r   r   s   & r8   #test_constructor_dtype_datetime64_8:TestSeriesConstructors.test_constructor_dtype_datetime64_8  sE    :.23*Ec{i
3333c{ar;   c                   \        R RRR7      pVP                  \        P                  4      P	                  R4      p\        W!R7      pR F  p\        P                  ! RV R24      pVP                  \        P                  4      P	                  V4      p\        Wa4      pVR8X  d   \        P                  ! R	4      pVP                  V8X  g   Q h\        P                  ! WsP	                  V4      4       K  	  \        W!\        R
7      pR F\  pVP                  \        P                  4      P	                  RV R24      p\        Wa\        R
7      p\        P                  ! Ws4       K^  	  \        P                  ! VP                  4        Uu. uF  qP                  4       NK  	  up\        R7      p	\        W4      p
\        P                  ! V
P                  V	4       V
P                  \        8X  g   Q hR# u upi )z01-Jan-2015z01-Dec-2015MEr  rQ   rb   DzM8[]r*   r   r+   N)r*  rP  msusns)r   viewr-   ndarrayr/   r   r,   r0   rF   rE   rU   rC   rD   r  r5   )r3   r@  values2r7   unitr,   values1r   r   dates2series1s   &          r8   #test_constructor_dtype_datetime64_7:TestSeriesConstructors.test_constructor_dtype_datetime64_7	  s|    =-dC**RZZ(//0@A'/0DHHs4&]+Ejj,33E:GG+Fs{)<<5(((""6??5+AB 1 'f=1Ejj,33c%NCGG?F""64 2 U-@-@-BC-B668-BC6R'
##GNNF;}}&&& Ds   G9c                   \        R \        R.4      pVP                  \        8X  g   Q h\        \        P
                  \        R.4      pVP                  \        8X  g   Q h\        \        R R.4      pVP                  \        8X  g   Q h\        \        \        P
                  R.4      pVP                  \        8X  g   Q hR # )Nz2013-08-05 15:30:00.000001)r   r   r,   rE   r-   r   r>   s   & r8   #test_constructor_dtype_datetime64_6:TestSeriesConstructors.test_constructor_dtype_datetime64_6(  s     dC!=>?yyF"""bffc#?@AyyF"""c4!=>?yyF"""c266#?@AyyF"""r;   c                   \        R ^R7      p\        V4      P                  ^ ,          P                  e   Q h\        R ^RR7      p\	        \        V4      P                  ^ ,          P                  4      R8X  g   Q h\        R ^RR7      p\	        \        V4      P                  ^ ,          P                  4      R8X  g   Q hR# )r  r  NUTCr  r4  )r   r   r   r5  r   )r3   drs   & r8   #test_constructor_dtype_datetime64_5:TestSeriesConstructors.test_constructor_dtype_datetime64_58  s     
A.bzq!$$,,,
A%86":??1%(()U222
A,?6":??1%(()\999r;   c                    \        R R\        .4      pVP                  R8X  g   Q hV^,          \        J g   Q hR\        V4      9   g   Q hR# )l   *}arE   r   NiZl)r   r   r,   r   r>   s   & r8   #test_constructor_dtype_datetime64_4:TestSeriesConstructors.test_constructor_dtype_datetime64_4B  sG    mXs34yyH$$$1v}}C   r;   c                    \        \        R ^^4      \        ^^^4      \        .4      pVP                  R8X  g   Q hV^,          \        J g   Q hR\	        V4      9   g   Q hR# i  r2  r   N)r   r   r   r,   r   r>   s   & r8   #test_constructor_dtype_datetime64_3:TestSeriesConstructors.test_constructor_dtype_datetime64_3I  sY    htQ*HQ1,=sCDyyH$$$1v}}C   r;   c                    \        \        R ^^4      \        ^^^4      \        P                  .4      pVP                  R8X  g   Q hV^,          \
        J g   Q hR\        V4      9   g   Q hR# rj  )r   r   r-   r   r,   r   r   r>   s   & r8   #test_constructor_dtype_datetime64_2:TestSeriesConstructors.test_constructor_dtype_datetime64_2P  s]    htQ*HQ1,=rvvFGyyH$$$1v}}C   r;   c                   \        R ^RRR7      p\        V4      pVP                  P                  R8X  g   Q hVP                  R8X  g   Q h\	        VP                  \
        4      '       g   Q hR\        V4      9   g   Q hVP                  p\	        V\        P                  4      '       g   Q hVP                  R8X  g   Q h\        V4      pVP                  R4      P                  VP                  P                  R7      p\        P                   ! W4       VP"                  ^ ,          pV\%        RRR7      8X  g   Q hV^ ,          pV\%        RRR7      8X  g   Q hV\        . ROVP&                  R	7      ,          p\        P(                  ! W2R
,          4       VP"                  R,          p\        P(                  ! V\        VR,          4      4       \*        P,                  ! VP"                  R,          VP"                  R,          .4      p\        P(                  ! W24       R\        V4      9   g   Q hVP/                  4       pR\        V4      9   g   Q hR\        V4      9   g   Q h\        VRR7      p\        P                   ! W14       R# )r  r4  rT  r2  r5  rX  datetime64[ns, US/Eastern]rQ   rb  r5  z2013-01-01 00:00:00-0500rb   :r   r   N:r   r   Nr=  r   inferr  Nr  )r   r   r,   r   r   r   r   r5   r-   rV  r   tz_localize
tz_convertdtr5  r0   rG   r   r   rc   rF   r(  concatshift)r3   rc  r*  r   rK  s   &    r8   !test_constructor_with_datetime_tz8TestSeriesConstructors.test_constructor_with_datetime_tzW  s    
A,TJ2Jww||;;;;ww6666!''?3333+s1v555 &"**----||////F#ooe$//14477/;
b& #=,OOOO1#=,OOOO6-QWW=>
vv.
vvbg7 AFF3K45
v) ,s1v555 +s6{:::F###qw/
f)r;   c           	     Z    \        \        R RRRR7      4      pR\        V4      9   g   Q hR# )r  r;  r4  rT  rq  rr  N)r   r   r   r>   s   & r8   "test_constructor_with_datetime_tz59TestSeriesConstructors.test_constructor_with_datetime_tz5  s*    Z
D\PTUV+s3x777r;   c                    \        \        R RR7      P                  R4      \        RRR7      P                  R4      .4      pVP                  R8X  g   Q h\        P
                  ! VRR7      R8X  g   Q hR	# )
2013-01-01 13:00:00-0800
US/Pacificrs  r*  2013-01-02 14:00:00-0800zdatetime64[s, US/Pacific]Tskipnar>  N)r   r   as_unitr,   r   infer_dtyper>   s   & r8   "test_constructor_with_datetime_tz49TestSeriesConstructors.test_constructor_with_datetime_tz4  sk    4FNNsS4FNNsS
 yy7777s40L@@@r;   c                    \        \        R RR7      \        RRR7      .4      pVP                  R8X  g   Q h\        P                  ! VRR7      R8X  g   Q hR	# )
r  r  rs  r  r4  rE   Tr  r   N)r   r   r,   r   r  r>   s   & r8   "test_constructor_with_datetime_tz39TestSeriesConstructors.test_constructor_with_datetime_tz3  sT    4F4F
 yyH$$$s40J>>>r;   c                    \        \        ^ ^.RR7      p\        RR.RR7      P                  R4      p\        V4      p\        P
                  ! W4       R# )r   rr  r   r   r4  rs  rT  N)r   r   r   r  r0   rF   )r3   r?   dtir7   s   &   r8   "test_constructor_with_datetime_tz29TestSeriesConstructors.test_constructor_with_datetime_tz2  sG    SA.JKUEN|<DDTJ#;
s-r;   c                  aa R \        R4      RRR.o\        S4      o\        ;QJ d2    VV3R l\        \	        S4      4       4       F  '       d   K   RM'	  RM#! VV3R l\        \	        S4      4       4       4      '       g   Q hR# )r   z
1990-01-01z2015-03-14T16:15:14.123-08:00z2019-03-04T21:56:32.620-07:00Nc              3   H   <"   T F  pSV,          SV,          J x  K  	  R # 5irp   rl   )rr   rE  r?   rI   s   & r8   rt   VTestSeriesConstructors.test_constructor_no_partial_datetime_casting.<locals>.<genexpr>  s      ?.>3q6T!W$.>s   "FT)r   r   r=   r   r   )r3   r?   rI   s   &@@r8   ,test_constructor_no_partial_datetime_castingCTestSeriesConstructors.test_constructor_no_partial_datetime_casting  sd     l#++
 Tls?eCI.>?sss?eCI.>?????r;   	arr_dtypekindMr   rX  c                   V R V R2p\         P                  ! . ROVR7      p\        V4      pVP                  V4      p\        VP                  V4      4      pVR9   d(   VP                  V8X  g   Q hVP                  V8X  g   Q hM,VP                  V R28X  g   Q hVP                  V R28X  g   Q h\
        P                  ! Wx4       R# )8[rQ  r+   z8[s]Nr   )rT  rS  rR  r*  )r-   rU   r   r/   r,   r0   rF   )	r3   r  r  rX  r,   r  r?   r   r7   s	   &&&&     r8   &test_construction_to_datetimelike_unit=TestSeriesConstructors.test_construction_to_datetimelike_unit  s     &4&"hhy	2SkE"#**U+,**<<5(((>>U*** <<dV4=000>>vT]222
v0r;   argz2013-01-01 00:00:00c                    \        V.R R7      p\        \        V4      .RR7      P                  P                  R4      p\        P
                  ! W#4       R# )zdatetime64[ns, CET]r+   r  CETN)r   r   rw  ru  r0   rF   )r3   r  r   r7   s   &&  r8   7test_constructor_with_naive_string_and_datetimetz_dtypeNTestSeriesConstructors.test_constructor_with_naive_string_and_datetimetz_dtype  sE     %:;9S>*(;>>JJ5Q
v0r;   c                @   \         P                  ! ^R4      p\         P                  ! \         P                  ! ^R4      .RR7      p\        V4      p\        \	        V4      .4      P                  R4      pVP                  R8X  g   Q h\        P                  ! W44       R# )r   rR  z>M8[ms]r+   r<  N)	r-   r>  rU   r   r   r/   r,   r0   rF   )r3   rR  r  r   r7   s   &    r8   %test_constructor_datetime64_bigendian<TestSeriesConstructors.test_constructor_datetime64_bigendian  st    ]]1d#hha./yA9R=/*11(;~~)))
v0r;   interval_constructorc                    VP                  \        P                  ! ^4      RR7      p\        V4      pVP                  R8X  g   Q h\
        P                  ! \        VP                  4      \        V4      4       R# )r   r7  closedzinterval[int64, right]N)	from_breaksr-   r.   r   r,   r0   rG   r   r5   )r3   r  	intervalsr   s   &&  r8   test_construction_interval1TestSeriesConstructors.test_construction_interval  s\     )44RYYq\'4R		"||7777
eFMM2E)4DEr;   data_constructorr2   zndarray[object]c                    \        ^ ^4      \        ^ ^4      R.p\        V! V4      4      p\        \        V4      4      pVP                  R8X  g   Q h\        P
                  ! W44       R# )r   Nzinterval[float64, right])r   r   r#   r,   r0   rF   r3   r  ry   r   r7   s   &&   r8   test_constructor_infer_interval6TestSeriesConstructors.test_constructor_infer_interval  s\    
 AA5(./--.||9999
v0r;   c                    \        ^ ^RR7      \        ^ ^RR7      .p\        V! V4      4      pVP                  \        8X  g   Q hVP	                  4       V8X  g   Q hR# )r   bothr  neitherN)r   r   r,   rE   r   )r3   r  ry   r   s   &&  r8   &test_constructor_interval_mixed_closed=TestSeriesConstructors.test_constructor_interval_mixed_closed  sV    
 Af-x1Y/OP(./||v%%%}}$&&&r;   c                d   \        \        R ^RR7      4      p\        WP                  R7      p\        P                  ! W!4       \        VP
                  P                  R4      VP                  R7      p\        P                  ! W!4       \        VP                  VP                  R7      p\        VP                  4      P
                  P                  VP                  P                  4      p\        P                  ! W#4       \        P                  ! R4      ;_uu_ 4        \        VP                  4      P
                  P                  R4      pVP
                  P                  VP                  P                  4      pRRR4       \        P                  ! W!4       \        P                  ! R4      ;_uu_ 4        \        VP                  P                  R4      VP                  R7      pRRR4       \        P                  ! W!4       R#   + '       g   i     L; i  + '       g   i     L;; i)r  r4  r  r+   rb  Nr  )r   r   r,   r0   rF   rw  rv  r5   ru  r5  rX  rU  )r3   r?   r   r7   middles   &    r8   test_construction_consistency4TestSeriesConstructors.test_construction_consistency  sa    Z
A,GH99-
v+))%0		B
v+ 

#))4#**%((44SYY\\B
v0''--CJJ'**66u=FYY))#)),,7F . 	v+''--CJJOOG4CIIFF . 	v+ .- .-s   !AH;1HH	H/	c                    \        R R4      \        RR4      R.p\        V! V4      4      p\        \        V4      4      p\        P                  ! W44       VP
                  R8X  g   Q hR# )2000rP  2001N	Period[D])r   r   r$   r0   rF   r,   r  s   &&   r8   test_constructor_infer_period4TestSeriesConstructors.test_constructor_infer_period  s]     vs#VFC%8$?(./,t,-
v0||{***r;   z$PeriodDtype Series not supported yetreasonc                    \        ^ RR\        P                  P                  .RR7      pV^,          p\	        V4      '       g   Q hW!^&   \	        V^,          4      '       g   Q hR# )r   r;    z	period[D]r+   N)r   r(  _libsr
   r   r3   ru  vals   &  r8   ;test_construct_from_ints_including_iNaT_scalar_period_dtypeRTestSeriesConstructors.test_construct_from_ints_including_iNaT_scalar_period_dtype  sO    D$6kJQiCyyyq	F1Ir;   c                    \        R R4      \        RR4      .p\        V4      pVP                  \        8X  g   Q hVP	                  4       V8X  g   Q hR# )r  rP  r  YN)r   r   r,   rE   r   )r3   ry   r   s   &  r8   .test_constructor_period_incompatible_frequencyETestSeriesConstructors.test_constructor_period_incompatible_frequency)  sI    vs#VFC%89||v%%%}}$&&&r;   c                    \        R ^RR7      p\        V4      pVP                  R8X  g   Q h\        VP                  \        4      4      pVP                  \        8X  g   Q hR# )r  rP  r1  r  N)r    r   r,   r/   rE   )r3   pir*  r7   s   &   r8   test_constructor_periodindex3TestSeriesConstructors.test_constructor_periodindex/  sR     *ac:2Jww+%%%"))F+,~~'''r;   c                D   R RRRRR/p\        V4      p\        V\        VP                  4       4      R7      p\        P                  ! W#4       \        V. ROR7      p\        ^^\
        P                  ^ .. ROR7      p\        P                  ! W#4       \        R^
RR	7      pV^ ,          ^ V^,          ^/p\        WR7      p\        \
        P                  V\
        P                  R
7      p^ VP                  ^ &   ^VP                  ^&   \        P                  ! W#4       R# )r   r  r   r>  r   r?  rb   r  rP  r1  r+   N)r   r   r   r   )
r   r   keysr0   rF   r-   r   r    r   r   )r3   r   r   r7   pidxs   &    r8   test_constructor_dict,TestSeriesConstructors.test_constructor_dict9  s    #sCc*!6!&&(#34
v0!561a+3GH
v0L"3?!Waa!$&"&&$bjj9aa
v0r;   c                    R ^.^.^../p\        VR .RR7      p\        VR .R7      p\        P                  ! W#4       R# )r   rE   r   rb   Nr  r3   r   r   r7   s   &   r8   /test_constructor_dict_list_value_explicit_dtypeFTestSeriesConstructors.test_constructor_dict_list_value_explicit_dtypeL  sD    A3aS/"#h7!C5)
v0r;   c                    R ^R^ R^/p\        V4      p\        . RO\        R4      R7      p\        P                  ! W#4       R# )r   r   r   bacrb   N)r   r   r   )r   r2   r0   rF   r  s   &   r8   test_constructor_dict_order2TestSeriesConstructors.test_constructor_dict_orderS  s=     !S!S!$)4;7
v0r;   c                    Vw  r#R V/p\        VR .R7      p\        VR .VR7      pVP                  V8X  g   Q h\        P                  ! WV4       R# )r   rb   r   N)r   r,   r0   rF   )r3   r   r   r   r   r   r7   s   &&     r8   test_constructor_dict_extension6TestSeriesConstructors.test_constructor_dict_extension[  sR    1	)#')C5A||x'''
v0r;   r  c           	        ^RVR\        R4      R^R/p\        V4      P                  4       p\        . RO^V\        P                  ^.R7      p\
        P                  ! W44       R	R^\        P                  3R^V3R/p\        V4      P                  4       p\        . R
O\        R	^\        P                  3^V3.4      R7      p\
        P                  ! W44       R# )r   r   r   r   r   r   rb   N)r   r   r   r   r   r   rW  )r   r   sort_valuesr-   r   r0   rF   r   )r3   r  r   r   r7   s   &&   r8   test_constructor_dict_nan_key4TestSeriesConstructors.test_constructor_dict_nan_keye  s     UCusAs;&&(.q%6KL
v0 S1bff+sQJ<&&(5&1bff+5z)J#K
 	v0r;   c                  a	a
 . ROo	. ROo
V	V
3R lpV! \         P                  4      pV! R 4      pV! \        4      p\        S
R S	 4       4      p\        V4      p\        V4      p\        V4      p\        P
                  ! WeP                  VP                  P                  R4      4      4       \        P
                  ! Wu4       \        P
                  ! W4       R# )
1984-02-19c                 D   <a  \        \        V 3R  lS 4       S4      4      # )c              3   4   <"   T F  pS! V4      x  K  	  R # 5irp   rl   )rr   r   r_   s   & r8   rt   eTestSeriesConstructors.test_constructor_dict_datetime64_index.<locals>.create_data.<locals>.<genexpr>|  s     B\[^^\s   )r  zip)r_   dates_as_strr5   s   fr8   create_dataRTestSeriesConstructors.test_constructor_dict_datetime64_index.<locals>.create_data{  s    B\BFKLLr;   c                 0    \         P                  ! V R 4      # )z%Y-%m-%d)r   strptimer  s   &r8   rf   OTestSeriesConstructors.test_constructor_dict_datetime64_index.<locals>.<lambda>  s    h.?.?:.Nr;   c              3   8   "   T F  p\        V4      x  K  	  R # 5irp   )r   rP  s   & r8   rt   PTestSeriesConstructors.test_constructor_dict_datetime64_index.<locals>.<genexpr>  s     "FA9Q<<s   r*  N)r  z
1988-11-06z
1989-12-03z
1990-03-15)g{\IAi gtyZQAr   )	r-   r>  r   r   r0   rF   set_axisrc   r  )r3   r  data_datetime64data_datetimedata_Timestampr7   result_datetime64result_datetimeresult_Timestampr  r5   s   &        @@r8   &test_constructor_dict_datetime64_index=TestSeriesConstructors.test_constructor_dict_datetime64_indexu  s     PF	M &bmm4#$NO$Y/&"F"FG"?3 /!.1
001G1G1LM	
 	9
/:r;   c           	         RR/p\        V4      p\        R\        ^.^.\        P                  ..^ .^ .R..R7      R7      p\        P
                  ! W#4       R# )r   N)levelscodesrb   )r   r   Ng      r   )r   r   r-   r   r0   rF   r  s   &   r8   #test_constructor_dict_tuple_indexer:TestSeriesConstructors.test_constructor_dict_tuple_indexer  s[    d#
A3bffX*>sQCRTQUFVW
 	v0r;   c                z    V! ^R/4      p\        V4      p\        R.^.R7      p\        P                  ! W44       R# )r   threerb   Nr  )r3   non_dict_mapping_subclassndmr   r7   s   &&   r8   test_constructor_mapping/TestSeriesConstructors.test_constructor_mapping  s7    'G57)A3/
v0r;   c                H    . ROp\        V4      p\        V4      V8X  g   Q hR# r   N)r  )r   r   )r   r   )r   r2   r3   ry   r*  s   &  r8   test_constructor_list_of_tuples6TestSeriesConstructors.test_constructor_list_of_tuples  s     '4LAw$r;   c                D    Rp\        V4      p\        V4      V8X  g   Q hR# r	  )r   tupler
  s   &  r8    test_constructor_tuple_of_tuples7TestSeriesConstructors.test_constructor_tuple_of_tuples  s"    '4LQx4r;   z%data, expected_values, expected_indexc                    \        V4      P                  4       p\        V\        P                  ! V4      R 7      p\        P
                  ! WE4       R# rb   N)r   r  r   from_tuplesr0   rF   )r3   ry   expected_valuesexpected_indexr   r7   s   &&&&  r8   test_constructor_dict_of_tuples6TestSeriesConstructors.test_constructor_dict_of_tuples  s;     ))+/1G1G1WX
v0r;   z+ignore:elementwise comparison:FutureWarningc           	        R ^ R^R^R^/p\        V4      p\        P                  ! VP                  4       R ^ RRRRR\        P
                  ! 4       /p\        V4      pVP                  \        P                  8X  g   Q hR ^ RRRRRR/p\        V4      pV'       g"   VP                  \        P                  8X  g   Q h R RRR/p\        V\        R7      pVP                  \        P                  8X  g   Q hR	# )
r   r   r   r   r.  r/  30r+   N)r   r0   assert_is_sortedrc   r   r3  r,   r-   r   r   r   )r3   r   ry   ru  s   &&  r8   test_fromDict$TestSeriesConstructors.test_fromDict  s    QQQQ/
FLL)QS#sC@||rzz)))QS#sC51Cv||rzz)NNS#s#E*||rzz)))r;   c                T   \        \        P                  VP                  \        P                  R 7      pVP
                  \        P                  8X  g   Q h\        V4      \        V4      8X  g   Q h\        RVP                  R7      pV'       g"   VP
                  \        P                  8X  g   Q h \        V4      \        V4      8X  g   Q h\        P                  ! 4       p\        WQP                  R7      pVP
                  R8X  g   Q h\        V4      \        V4      8X  g   Q h\        ^ VP                  RR 7      p\        ^ VP                  R7      P                  R4      pVP
                  R8X  g   Q h\        V4      \        V4      8X  g   Q h\        P                  ! Wx4       R# )r   r  rb   r2  r   N)r   r-   r   rc   r   r,   r   r   r   r3  r/   r0   rF   )	r3   r   r   nansstringsr   r@  categoricalr7   s	   &&&      r8   test_fromValue%TestSeriesConstructors.test_fromValue  s?   bffO$9$9LzzRZZ'''4yC0000o&;&;<2Dw}}

*OO%7|s?3333LLNq 5 56{{h&&&5zS1111 Qo&;&;:N!?#8#89@@L  J...;3#7777
{5r;   c           	        \        \        ^4       Uu. uF  p\        VR7      NK  	  up4      pVP                  R8X  g   Q h\        \        ^R7      .4      pVP                  R8X  g   Q h\        \        ^R7      \        ^R7      \        P
                  ! ^R4      .4      pVP                  R8X  g   Q h\        \        ^R7      \        .RR7      pVP                  R8X  g   Q h\        \        ^R7      \        P                  .RR7      pVP                  R8X  g   Q h\        \        P
                  ! R4      \        .RR7      pVP                  R8X  g   Q h\        \        P
                  ! R4      \        .4      pVP                  R8X  g   Q h\        \        P
                  ! R4      \        .4      pVP                  R8X  g   Q h\        \        P
                  ! R4      \        P                  .4      pVP                  R8X  g   Q h\        \        \        P
                  ! R4      .4      pVP                  R8X  g   Q h\        \        P
                  ! ^R4      .4      pVP                  R	8X  g   Q hVP                  R
4       Rp\        P                  ! \        VR7      ;_uu_ 4        VP                  R4       RRR4       RP                  RR.4      p\        P                  ! \        VR7      ;_uu_ 4        \        \        ^R7      R.RR7       RRR4       \        \        ^4       Uu. uF  p\        VR7      NK  	  upR.,           4      pVP                  R8X  g   Q h\        R\        R.4      pVP                  \        8X  g   Q h\        \        P                  \        R.4      pVP                  \        8X  g   Q h\        \        RR.4      pVP                  \        8X  g   Q h\        \        \        P                  R.4      pVP                  \        8X  g   Q hR# u upi   + '       g   i     ELz; i  + '       g   i     EL5; iu upi )r   )daystimedelta64[us]r*  m8[ns]r+   r[   i rE   timedelta64[s]r  z:Converting from timedelta64\[s\] to int32 is not supportedrO   rD  N|z+Could not convert object to NumPy timedeltaz*Could not convert 'foo' to NumPy timedeltar  z1 Day)r   r   r   r,   r-   timedelta64r   r   r
   r/   rR   rS   r\   joinrT   rE   )r3   rE  tdrW   r?   s   &    r8   "test_constructor_dtype_timedelta649TestSeriesConstructors.test_constructor_dtype_timedelta64  sm   a91YA&9:xx,,,,YA&'(xx,,,,YA&	q(92>>!S;QRSxx,,,, YA&,H=xx,,,,YA&/x@xx,,,,R^^I.4HExx,,,, R^^I.45xx,,,, R^^I.56xx8###R^^I.78xx,,,,S"..345xx,,,,R^^As+,-xx++++ 			' L]]9C00IIg 1 hh=<
 ]]:S11I1%u-X> 2 a91YA&9UGCDxx8### dC)*yyF"""bffc7+,yyF"""c4)*yyF"""c2667+,yyF"""Q :V 100 211 :s#   P,.P1?Q3Q1Q	Q	c                    \        \        R 4      \        R RR7      .4      p\        \        R 4      \        R RR7      .RR7      p\        P                  ! W4       R# )r  r4  rs  rE   r+   N)r   r   r0   rF   r  s   &  r8   test_constructor_mixed_tz0TestSeriesConstructors.test_constructor_mixed_tz-  sN    Ij)9ZL+QRSz"Ij\$JK
 	q+r;   c                    \        ^ RR\        .RR7      pV^,          p\        V4      '       g   Q hW!^&   \        V^,          4      '       g   Q hR# )r   r;  r  r  r+   N)r   r
   r   r  s   &  r8   test_NaT_scalar&TestSeriesConstructors.test_NaT_scalar5  sG    D$-X>QiCyyyq	F1Ir;   c                    \        \        P                  .4      P                  R 4      p\        \        .R R7      p\
        P                  ! W4       R# )r  r+   N)r   r-   r   r/   r   r0   rF   r{  s   &  r8   test_NaT_cast$TestSeriesConstructors.test_NaT_cast>  s9    !((23%x0
v0r;   c                    R RR\        R^^4      R	R3 FH  p. R
O\        P                  ! ^4      R^ R^/3 F"  p\        W!R7      pVP                  V8X  d   K"  Q h	  KJ  	  R# )i	  g     H@r   r  u   אr   r   re  Nr   r   )r   r-   onesr   r   )r3   nry   r*  s   &   r8   test_constructor_name_hashable5TestSeriesConstructors.test_constructor_name_hashableD  s`    ufhtR&<dHMA"BGGAJaa0@A4(vv{"{ B Nr;   c           	     0   R pR.\         P                  ! ^4      ^^/3 F_  pR.\         P                  ! ^4      ^^/3 F<  p\        P                  ! \        VR7      ;_uu_ 4        \        W2R7       RRR4       K>  	  Ka  	  R#   + '       g   i     KW  ; i)z$Series\.name must be a hashable type	name_listrO   re  N)r-   r:  rR   rS   r\   r   )r3   rW   r;  ry   s   &   r8    test_constructor_name_unhashable7TestSeriesConstructors.test_constructor_name_unhashableJ  sp    5-aV4A%
QF;]]9C884( 98 < 5888s   %B	Bc           
     l    \        \        \        R ^
RR7      4      4      pVP                  R8X  g   Q hR# )1/1/2000rT  )r2  rX  r  N)r   r2   r   r,   r3   ru  s   & r8   test_auto_conversion+TestSeriesConstructors.test_auto_conversionQ  s,    Z
BTJKL||x'''r;   c                   \         P                  ! . RORR7      p\        V4      pVP                  VP                  8X  g   Q h\	        R^RR7      P                  R4      p\        V4      pVP                  VP                  8X  g   Q h\        P                  ! W$4       \         P                  ! . RORR7      p\        V4      p\        \        R^RR7      R	R7      pVP                  R	8X  g   Q h\        P                  ! W$4       \         P                  ! . ROR
R7      p\        V4      p\        \        R^RR7      R	R7      pVP                  R	8X  g   Q h\        P                  ! W$4       R# )r   r(  r+   z00:00:01r*  r1  zdatetime64[D]r  rP  r*   r  z20130101 00:00:01Nr   )
2013-01-01z
2013-01-02z
2013-01-03)z2013-01-01 00:00:01z2013-01-01 00:00:02z2013-01-01 00:00:03)	r-   rU   r   r,   r!   r  r0   rF   r   )r3   r  r?   tdir7   s   &    r8   test_convert_non_ns*TestSeriesConstructors.test_convert_non_nsU  s'   hhy(89SkyyCII%%%j!#>FFsK#;~~***
s- hh6o
 Sk*ZEWU~~(((
s-hhQ!
 Sk*AC@
 ~~(((
s-r;   rC  z2000-Q1c                ,    \        V 4      P                  # rp   r  r  s   &r8   rf   rg   {  r  r;   c                   R \        V4      P                  P                  R4       R2p\        P                  ! \
        VR7      ;_uu_ 4        \        V\        R7       RRR4       \        V\        P                  R7      p\        VP                  \        P                  4      4      p\        P                  ! W44       R#   + '       g   i     Lk; i)zCannot cast r   z.*? to rO   r+   N)r  r
  rstriprR   rS   r\   r   r   r-   r  r/   r0   rF   )r3   rc   rW   r   r7   s   &&   r8   'test_constructor_cant_cast_datetimelike>TestSeriesConstructors.test_constructor_cant_cast_datetimeliket  s     T%[1188AB'J]]9C005& 1 RXX.%,,rxx01
v0 10s   CC	c                ,    \        V 4      P                  # rp   r  r  s   &r8   rf   rg     r  r;   c                   \        V\        R 7      p\        V4      P                  \        4      p\        P                  ! W#4       \        \        V\        R 7      \        R 7      p\        V4      P                  \        4      p\        P                  ! W#4       \        VP                  \        4      \        R 7      p\        V4      P                  \        4      p\        P                  ! W#4       R# r9  )r   rE   r/   r0   rF   r   )r3   rc   r*  rK  s   &&  r8   test_constructor_cast_object3TestSeriesConstructors.test_constructor_cast_object  s     5'Um""6*
q&5f-V<Um""6*
q&5<<'v6Um""6*
q&r;   c                R   R p\         P                  ! V4      P                  R9  d2   \        P                  P                  RR7      pVP                  V4       \        P                  ! \        VR7      ;_uu_ 4        \        . VR7       RRR4       R#   + '       g   i     R# ; i)z!dtype has no unit. Please pass inzGH#33890 Is assigned ns unitr  rO   r+   N)r*  r>  )
r-   r,   r   rR   markxfailapplymarkerrS   rT   r   )r3   r,   requestrW   rV  s   &&&  r8   /test_constructor_generic_timestamp_no_frequencyFTestSeriesConstructors.test_constructor_generic_timestamp_no_frequency  sp     288E?'DD;;$$,J$KD%]]:S112U# 2111s   =BB&	c                T   V R V R2pRp\         P                  ! \        VR7      ;_uu_ 4        \        . VR7       RRR4       \         P                  ! \        VR7      ;_uu_ 4        \	        ^ ..VR7       RRR4       R#   + '       g   i     LN; i  + '       g   i     R# ; i)r  rQ  z4dtype=.* is not supported. Supported resolutions arerO   r+   N)rR   rS   r\   r   r   )r3   r  rX  r,   rW   s   &&&  r8   0test_constructor_generic_timestamp_bad_frequencyGTestSeriesConstructors.test_constructor_generic_timestamp_bad_frequency  sy     &4&"D]]9C002U# 1 ]]9C00se5) 10 10 100s   B)BB	B'	c                    \        . ROT;'       g    RR7      p\        \        ^4      VR7      p\        P                  ! W24       R# )r   r  r+   N)r   r   r   r   r   r   )r3   r,   r7   r   s   &&  r8   test_constructor_range_dtype3TestSeriesConstructors.test_constructor_range_dtype  s6     /1A1A'Ba.
v0r;   c                   \        RR4      p\        V4      p\        \        V4      4      p\        P                  ! W#4       \        V4      \        V4      8X  g   Q hVP
                  \        P                  8X  g   Q h\        RRR4      p\        V4      p\        \        V4      4      p\        P                  ! WV4       \        V4      \        V4      8X  g   Q hVP
                  \        P                  8X  g   Q h\        RRR4      p\        V4      p\        \        V4      4      p	\        P                  ! W4       \        V4      \        V4      8X  g   Q hVP
                  \        8X  g   Q h\        ^^I,          ^^I,          ^,           4      p
\        V
4      p\        \        V
4      4      p\        P                  ! W4       \        V4      \        V
4      8X  g   Q hVP
                  \        8X  g   Q hR# )r   Nl            l           r   l         l        )	r   r   r2   r0   rF   r,   r-   uint64rE   )r3   r  r?   r7   rng2ser2	expected2rng3ser3	expected3rng4ser4	expected4s   &            r8    test_constructor_range_overflows7TestSeriesConstructors.test_constructor_range_overflows  s~   E9%Sk$s)$
s-CyDI%%%yyBII%%%Yr*d|4:&	
t/DzT$Z'''zzRYY&&&X|R0d|4:&	
t/DzT$Z'''zzV###QUArEAI&d|4:&	
t/DzT$Z'''zzV###r;   c                    \        R 4      \        RRR7      .p\        V4      p\        V\        R7      p\        P                  ! W#4       R# )z2016-05-01 02:03:37z2016-04-30 19:03:37-0700r  rs  r+   N)r   r   rE   r0   rF   )r3   dt_listr   r7   s   &   r8   test_constructor_tz_mixed_data5TestSeriesConstructors.test_constructor_tz_mixed_data  sD     +,0\B
 '0
v0r;   pydtTFc           	        Tp\        R VR7      pV'       d   VP                  4       pRp\        P                  ! \        VR7      ;_uu_ 4        \        V.RR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        \        P                  ! V.\        R7      RR7       RRR4       \        P                  ! \        VR7      ;_uu_ 4        \        ^ V/RR7       RRR4       Rp\        P                  ! \        VR7      ;_uu_ 4        \        V^ .RR7       RRR4       R#   + '       g   i     L; i  + '       g   i     L; i  + '       g   i     Lv; i  + '       g   i     R# ; i)	2019rs  zsCannot convert timezone-aware data to timezone-naive dtype. Use pd.Series\(values\).dt.tz_localize\(None\) instead.rO   rQ   r+   Nz/Cannot unbox tzaware Timestamp to tznaive dtyper   )
r   rC   rR   rS   rT   r   r-   rU   rE   r\   )r3   tz_aware_fixturers  r5  rH   rW   s   &&&   r8   'test_constructor_data_aware_dtype_naive>TestSeriesConstructors.test_constructor_data_aware_dtype_naive  s    v"%!!#BG 	 ]]:S11B4/0 2 ]]:S11288RD/7GH 2 ]]:S11Ar7"23 2 @]]9C002aS(89 10 21 21 21 100s0   D6	)E	EE/6E		E	E,	/F 	c                    \        R RRR7      p\        P                  ! V4      p\        V4      p\        P                  ! VP
                  \        P
                  ! R4      4      '       g   Q hR# )z1/1/2000 00:00:00z1/1/2000 1:59:5010sr  r  N)r   r-   asarrayr   
issubdtyper,   )r3   r  r@  ru  s   &   r8   test_constructor_datetime642TestSeriesConstructors.test_constructor_datetime64	  sL    ,.@uM

3}}V\\288H+=>>>>r;   c                v    \        R . ROVR7      p\        . RO. ROVR7      p\        P                  ! W#4       R# )r  r   Nr   )r  r  r  r  )r3   nullable_string_dtyper   r7   s   &&  r8   4test_constructor_datetimelike_scalar_to_string_dtypeKTestSeriesConstructors.test_constructor_datetimelike_scalar_to_string_dtype  s0     94IJ/BWX
v0r;   boxc                    V # rp   rl   r  s   &r8   rf   rg     s    qr;   c                    V! R 4      V! R4      .p\         P                  ! R4      p\        W#R7      p\         P                  P	                  W#R7      p\        V4      p\
        P                  ! WF4       R# )z
2012-01-01rH  rQ   r+   N)r(  SparseDtyper   arraysSparseArrayr0   rF   )r3   r  r5   r,   r   r  r7   s   &&     r8   "test_constructor_sparse_datetime649TestSeriesConstructors.test_constructor_sparse_datetime64  s_     l#S%67/0,ii##F#8#;
v0r;   c                   \        R ^R^/P                  4       4      p\        R R.4      p\        P                  ! W4       \        R ^R^/P	                  4       4      p\        ^^.4      p\        P                  ! W4       R# r  )r   r  r0   rF   r5   r{  s   &  r8   )test_construction_from_ordered_collection@TestSeriesConstructors.test_construction_from_ordered_collection"  sq    aa(--/03*%
v0aa(//121a&>
v0r;   c                h    R p\        V^ .R7      p\        V4      p\        P                  ! W#4       R# )l     @=7M.crb   Nr  )r3   r;  r   r7   s   &   r8   3test_construction_from_large_int_scalar_no_overflowJTestSeriesConstructors.test_construction_from_large_int_scalar_no_overflow,  s,    )!%!9
v0r;   c           
         \        \        \        R ^
RR7      4      4      pVP                  R8X  g   Q h\        \	        RRR7      \	        RRR7      .4      pVP                  R8X  g   Q hR# )z
2000-01-01rP  r1  r  z
2011-01-01r  z
2011-02-01N)r   r2   r    r,   r   rD  s   & r8   4test_constructor_list_of_periods_infers_period_dtypeKTestSeriesConstructors.test_constructor_list_of_periods_infers_period_dtype3  s`    \,MNO||{***Ls+VLs-KL
 ||{***r;   c                    V! R  \        ^
4       4       4      p\        V4      p\        \        VP                  4       4      4      p\        P
                  ! W44       R# )c              3   6   "   T F  qR V,          3x  K  	  R# 5i)g      $@Nrl   rP  s   & r8   rt   HTestSeriesConstructors.test_constructor_subclass_dict.<locals>.<genexpr>=  s     >Iq]Is   N)r   r   r  itemsr0   rF   )r3   dict_subclassry   ru  r7   s   &&   r8   test_constructor_subclass_dict5TestSeriesConstructors.test_constructor_subclass_dict<  sB    >E"I>>$tzz|,-
v0r;   c                ^   \        R  \        ^4       4       4      p\        V4      p\        \        VP	                  4       4      \        VP                  4       4      4      p\        P                  ! W#4        ! R R\         4      p\        V! V4      4      p\        P                  ! W#4       R# )c              3      "   T F7  pR V 2\         P                  P                  ^4      P                  4       3x  K9  	  R# 5i)colN)r-   r   r   rD  s   & r8   rt   FTestSeriesConstructors.test_constructor_ordereddict.<locals>.<genexpr>D  s6      
DMqs1#Y		--a0779:Is   ?Ac                       ] tR tRtRtR# )>TestSeriesConstructors.test_constructor_ordereddict.<locals>.AiM  rl   N)r
  r  r  r  r  rl   r;   r8   r   r  M  s    r;   r   N)r   r   r   r2   r5   r  r0   rF   )r3   ry   ru  r7   r   s   &    r8   test_constructor_ordereddict3TestSeriesConstructors.test_constructor_ordereddictB  s     
DI"I
 
 $t{{}-tDIIK/@A
v0	 	 $
v0r;   zdata, expected_index_multir  r>  r?  zg     [@c           	        \        V4      pV'       dh   \        \        VP                  4       4      \        P                  ! \        VP                  4       4      4      R 7      p\        P                  ! W44       R# \        \        VP                  4       4      \        \        VP                  4       4      4      R 7      p\        P                  ! W44       R# r  )	r   r2   r5   r   r  r  r0   rF   r   )r3   ry   expected_index_multir   r7   s   &&&  r8    test_constructor_dict_multiindex7TestSeriesConstructors.test_constructor_dict_multiindexS  s     T[[]# ,,T$))+->?H ""64T[[]#D-.H ""64r;   c                    R^ R^R^R\         P                  /p\        V4      p\        VRR P                  4       VP                  R7      p\
        P                  ! W24       R# )rE  jNrb   )rE  rE  )rE  r  )r  rE  r   )r-   r   r   to_dictrc   r0   rF   )r3   ry   r7   r   s   &   r8   -test_constructor_dict_multiindex_reindex_flatDTestSeriesConstructors.test_constructor_dict_multiindex_reindex_flatl  sR    Az1j!S"&&I$<"--/x~~F
v0r;   c                Z   \        . RO\        P                  ! . RORR7      R7      p\        \        P                  ! ^ RR7      R \        P                  ! ^
RR7      R\        P                  ! ^RR7      R/\        P                  ! . RORR7      R7      p\        P                  ! W!4       R# )	r   r   rf  r*  rX  rx   N)r   r   rf  )r   r)      r   r(  to_timedeltar0   rF   r  s   &  r8   %test_constructor_dict_timedelta_index<TestSeriesConstructors.test_constructor_dict_timedelta_indext  s      #(N
 ,c-s-s
 //+C8
 	v0r;   c           	         R R.p\        RR4      p\        R^^^VR7      \        R^^^VR7      .p\        WR7      pVP                  P                  V8X  g   Q h\        VP                  ^ ,          4       R# )g     g@g     t@Ni   i  )tzinforx   )r   r   r   rc   r5  repr)r3   r5   r  rc   ru  s   &    r8   test_constructor_infer_index_tz6TestSeriesConstructors.test_constructor_infer_index_tz  sr    $%T1b"V4T1b"V4
 V1||&((( 	V\\!_r;   c                    . ROp\        V4      pVP                  P                  p\        WR7      p\        P                  ! W$4       R# )r   r+   N)r9  )r   r  r   rU   r,   r0   rF   )r3   rI   r?   r,   re  s   &    r8   "test_constructor_with_pandas_dtype9TestSeriesConstructors.test_constructor_with_pandas_dtype  s5    !Tl		d(
s)r;   c                    \        ^ .RR7      p\        \        P                  ^ .RR7      p\        P                  ! W4       R# )r   r  r   r   N)r   r-   r   r0   rF   r{  s   &  r8   )test_constructor_int_dtype_missing_values@TestSeriesConstructors.test_constructor_int_dtype_missing_values  s2    qc1"&&9=
v0r;   c                l    \        ^ .RR7      p\        R^ .RR7      p\        P                  ! W4       R# )r   r  r   TNr  r{  s   &  r8   *test_constructor_bool_dtype_missing_valuesATestSeriesConstructors.test_constructor_bool_dtype_missing_values  s.    qc0$qc8
v0r;   c                n    \        . ROVR7      p\        . ROVR7      p\        P                  ! W#4       R# )r  r+   N)r  r.  r/  r!  r  )r3   any_int_dtyper   r7   s   &&  r8   test_constructor_int64_dtype3TestSeriesConstructors.test_constructor_int64_dtype  s(    }=)=9
v0r;   c                    \         '       g   \        P                  ! \        R R7      pM\        P                  ! \        RR7      pV;_uu_ 4        \        R.RR7       RRR4       R#   + '       g   i     R# ; i)z/string values cannot be losslessly cast to int8rO   z!The elements provided in the data128r  r+   N)r   rR   rS   rT   r  r   )r3   rS   s   & r8   5test_constructor_raise_on_lossy_conversion_of_stringsLTestSeriesConstructors.test_constructor_raise_on_lossy_conversion_of_strings  sP    ~]]"SF ]]%HF VE7&) VVVs   A))A:	c                    \        . RORR7      p\        \        P                  ! . RORR7      4      p\        P                  ! W4       R# )@B r&  r+   rS  r  Nr  i@ i- r  r{  s   &  r8   6test_constructor_dtype_timedelta_alternative_constructMTestSeriesConstructors.test_constructor_dtype_timedelta_alternative_construct  s4    2:KL"//*D4PQ
v0r;   c                    \        . RORR7      P                  R4      p\        . RORR7      P                  R4      p\        P                  ! W4       R# )r  r[   r+   r  r(  Nr  r:  r{  s   &  r8   2test_constructor_dtype_timedelta_ns_s_astype_int64ITestSeriesConstructors.test_constructor_dtype_timedelta_ns_s_astype_int64  sL    2:KLSS
 4<LMTT
 	v0r;   z7ignore:elementwise comparison failed:DeprecationWarningfuncc                   R P                  . RO4      p. \        P                  O\        N F=  p\        P
                  ! \        VR7      ;_uu_ 4        V! VRR.VR7       RRR4       K?  	  R#   + '       g   i     KT  ; i)r)  rO   r>  g      @r+   N)z(cannot safely cast non-equivalent objectzJint\(\) argument must be a string, a bytes-like object or a (real )?numberz[Cannot cast array data from dtype\('O'\) to dtype\('float64'\) according to the rule 'safe'z-object cannot be converted to a FloatingDtypez 'values' contains non-numeric NA)r+  r0   NP_NAT_OBJECTSr   rR   rS   r\   )r3   r  any_numeric_ea_dtyperW   nulls   &&&  r8   /test_constructor_mismatched_null_nullable_dtypeFTestSeriesConstructors.test_constructor_mismatched_null_nullable_dtype  sh     hh

 .b''--Dy44dC%-AB 54 .444s   A//B c                   \        R RR \        P                  .RR7      p\        ^^ ^\        P                  .RR7      p\        P                  ! W4       \        . RORR7      p\        . RORR7      p\        P                  ! W4       R# )TFInt64r+   N)TFT)r   r   r   )r   r(  NAr0   rF   r{  s   &  r8   (test_series_constructor_ea_int_from_bool?TestSeriesConstructors.test_series_constructor_ea_int_from_bool  si    udBEE2'B1aBEE*':
v0+7;)73
v0r;   c                    \         P                  ! \        R R7      ;_uu_ 4        \        RRR\        P
                  .RR7       RRR4       R#   + '       g   i     R# ; i)zinvalid literalrO   TrueFalser  r+   N)rR   rS   rT   r   r(  r  r  s   &r8   /test_series_constructor_ea_int_from_string_boolFTestSeriesConstructors.test_series_constructor_ea_int_from_string_bool  s;    ]]:->??FGVRUU37C @???s    AA 	r  c                   \         P                  ! \         P                  4      P                  ^,
          p\	        W!.RR7      p\	        \         P
                  ! V^.RR7      RR7      p\        P                  ! W44       R# r   UInt64r+   rc  N)r-   iinforc  maxr   rU   r0   rF   r3   r  max_valr   r7   s   &&   r8   (test_series_constructor_overflow_uint_ea?TestSeriesConstructors.test_series_constructor_overflow_uint_ea  sX     ((299%))A-h7"((GQ<x@Q
v0r;   c           
     ~   \         P                  ! \         P                  4      P                  ^,
          p\	        W!\
        P                  .RR7      p\	        \        \         P                  ! V^^ .RR7      \         P                  ! . RO\         P                  R7      4      4      p\        P                  ! W44       R# )r   r  r+   rc  N)r   r   r   r-   r  rc  r  r   r(  r  r"   rU   bool_r0   rF   r  s   &&   r8   0test_series_constructor_overflow_uint_ea_with_naGTestSeriesConstructors.test_series_constructor_overflow_uint_ea_with_na  s~     ((299%))A-ruu-X>'1a9"((3
 	v0r;   c           
     |   \         P                  ! \         P                  4      P                  ^,
          p\	        V\
        P                  .RR7      p\	        \        \         P                  ! V^.RR7      \         P                  ! ^ ^.\         P                  R7      4      4      p\        P                  ! W#4       R# r  r  )r3   r  r   r7   s   &   r8   .test_series_constructor_overflow_uint_with_nanETestSeriesConstructors.test_series_constructor_overflow_uint_with_nan  s~    ((299%))A-"%%(9'1X6!Qrxx0
 	v0r;   c           
     .   \        \        P                  \        P                  .R R7      p\        \        \        P
                  ! ^^.RR7      \        P
                  ! ^^.\        P                  R7      4      4      p\        P                  ! W4       R# )r  r+   rc  N)	r   r(  r  r"   r-   rU   r  r0   rF   r{  s   &  r8   !test_series_constructor_ea_all_na8TestSeriesConstructors.test_series_constructor_ea_all_na  sd    h7!Qx0!Qrxx0
 	v0r;   c                    \        . RO4      pVP                  RR7      p\        VRR7      p^dVP                  ^ &   \        P
                  ! W4       R# )r   T)deepr  r+   Nr   )r   r  r   r   r0   rG   )r3   rJ   r7   r?   s   &   r8   0test_series_from_index_dtype_equal_does_not_copyGTestSeriesConstructors.test_series_from_index_dtype_equal_does_not_copy  sC    I888&S(
c,r;   c                $   \         P                  ! R R4      ;_uu_ 4        \        RR.4      pRRR4       \         P                  ! \        '       d   RMR\
        P                  R7      p\        RR.VR7      p\        P                  ! XV4       \        R^.R	R7      p\         P                  ! R R4      ;_uu_ 4        \        R^.4      pRRR4       \        P                  ! W4       R#   + '       g   i     L; i  + '       g   i     L;; i)
future.infer_stringTr   r   Npyarrowpythonna_valuer+   rE   	r(  option_contextr   StringDtyper   r-   r   r0   rF   r3   r?   r,   r7   s   &   r8   test_series_string_inference3TestSeriesConstructors.test_series_string_inference&  s    4d;;#s$C <KKyXPRPVPVW3*E2
sH-3((34d;;#q"C <
s- <; <;s   C,>C?,C<	?D	r  c                J   \         P                  ! R R4      ;_uu_ 4        \        RV.4      pRRR4       \         P                  ! \        '       d   RMR\
        P                  R7      p\        RR.VR7      p\        P                  ! XV4       R#   + '       g   i     Ll; i)r  Tr   Nr  r  r   r+   r  )r3   r  r?   r,   r7   s   &&   r8   $test_series_string_with_na_inference;TestSeriesConstructors.test_series_string_with_na_inference3  sq     4d;;#x)C <KKyXPRPVPVW3+U3
sH-	 <;s   BB"	c                L   \         P                  ! R R4      ;_uu_ 4        \        R^.R7      pRRR4       \         P                  ! \        '       d   RMR\
        P                  R7      p\        R^.VR7      p\        P                  ! XV4       R#   + '       g   i     Ll; i)	r  Tr   rb   Nr  r  r   r   r  r  s   &   r8   #test_series_string_inference_scalar:TestSeriesConstructors.test_series_string_inference_scalar<  so    4d;;QC(C <KKyXPRPVPVW#aS6
sH-	 <;s   BB#	c                r   \         P                  ! R R4      ;_uu_ 4        \        \        P                  ! RR.4      4      pRRR4       \         P
                  ! \        '       d   RMR\        P                  R7      p\        RR.VR7      p\        P                  ! XV4       R#   + '       g   i     Ll; i)	r  Tr   r   Nr  r  r   r+   )
r(  r  r   r-   rU   r  r   r   r0   rF   r  s   &   r8   /test_series_string_inference_array_string_dtypeFTestSeriesConstructors.test_series_string_inference_array_string_dtypeD  sx    4d;;3*-.C <KKyXPRPVPVW3*E2
sH-	 <;s   "B&&B6	c                &   \        R R.\        '       d   RMRR7      p\        P                  ! RR4      ;_uu_ 4        \        R R.RR7      pRRR4       \        P
                  ! XV4       \        R R.\        P                  ! \        P                  R	7      R7      p\        P                  ! RR4      ;_uu_ 4        \        R R.R
R7      pRRR4       \        P
                  ! W!4       R#   + '       g   i     L; i  + '       g   i     L;; i)r   r   zstring[pyarrow]string[python]r+   r  TstringNr   r   )	r   r   r(  r  r0   rF   r  r-   r   r  s   &  r8   /test_series_string_inference_storage_definitionFTestSeriesConstructors.test_series_string_inference_storage_definitionL  s    
 #J;;/DT
 4d;;S#Jh7F <
vx03*BNNBFF,KL4d;;S#Je4F <
v0 <;
 <;s   C-=D -C=	 D	c                (   \         P                  ! R R4      ;_uu_ 4        \        R^^.RR7      pRRR4       \        RR.^^.RR7      p\        P                  ! XV4       VP
                  P                  R8X  g   Q hR#   + '       g   i     LX; i)r  Tr   r  r   Nr  )r(  r  r   r0   rF   r,   storage)r3   r?   r7   s   &  r8   +test_series_constructor_infer_string_scalarBTestSeriesConstructors.test_series_constructor_infer_string_scalar]  sv    4d;;QF2BCC <3*QF:JK
sH-yy  H,,,	 <;s   BB	c                f   \         P                  ! R R4      ;_uu_ 4        \        \         P                  R.4      pRRR4       \         P                  ! \
        '       d   RMR\        P                  R7      p\        RR.VR7      p\        P                  ! XV4       R#   + '       g   i     Ll; i)r  Tr   Nr  r  r   r+   )
r(  r  r   r  r  r   r-   r   r0   rF   )r3   r   r,   r7   s   &   r8   %test_series_string_inference_na_first<TestSeriesConstructors.test_series_string_inference_na_firste  ss    4d;;RUUCL)F <KKyXPRPVPVW4+U3
vx0	 <;s   B  B0	klassc                    V! \        R 4      .\        R7      p\        V4      pVP                  \        P
                  8X  g   Q hR# )z
2019-12-31r+   N)r   rE   r   r,   r-   r   )r3   r  r"  r   s   &&  r8    test_inference_on_pandas_objects7TestSeriesConstructors.test_inference_on_pandas_objectsm  s7     Y|,-V<||rzz)))r;   rl   )f8r   r  r'  r   rE   zdatetime64[ns, UTC])entryu   ѐ   )r  rD  r  r   r   )r   r   r   )rT  rS  rR  r*  r0  r   rP  )r   r   )Nr&  r9  )r   r&  )r   N)	psasfsr  r  WrP  r0  r   )Nr  r   )r   r   )r   r   )r   r   )r   r   r   )r
  r  r  r  r9   r@   rK   rX   r]   rR   rV  parametrizer   r   r   r   r   r   r   r2   r  r   r   r-   r   r   r   r   r   r   r   r   r   r   r  r  r  r#  r'  r+  r   r   r;  r@  rL  rT  r[  r_  rb  rk  rr  rv  r|  r  r  r  r  r  r  r  r   r   r  r  r  r  r  r  r!   r    r   r  r  r  r  r  r  rU   uint16uint32rc  r  r  r
  r  r  r  r  r  r+  r/  r4  r7  rA  rF  rI  rL  r\  r_  rd  rg  rk  rn  rz  r}  r  r  r  r  r  r   r  r   r  r  r   r#   r  r  r  r  r  rW  r  r  r  r  r  r  r  r  r  r   r  r  r  r  filterwarningsr  r"  r-  r0  r3  r6  r<  r@  rE  rJ  rO  rS  r>  r*  rZ  r]  r`  rm  rq  rw  r}  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r(  r  r  r  r  r  r  r  r  r  r  r	  r  r  r  r  r  r  r  r  r  s   @r8   r'   r'   7   sB    '>-I2 [[ +0...;5333@	
( [[]T2J7H 8)*H5.-
	.$L( [[]T4,EF#2 G#2J [[[2665<*@AF BF [[U [[WtU2Y&78  9	
 8(
 [[V%89+ :+
	%411151 [[W&KL  M  [[F#JJ<=JMN1A&'	
	1	1#,,
17
7&:"$11,1;B,
Q1f1%D [[qN(!a!!a!	

.
.13%H  [[z1>z1-GQ/137$u+)q!	
 '  44
*,E$1
4 [[HHaS		*HHaS		*HHaS		*YYq\NYYq\NYYq\N	

"
"
=*'X>,
>!&*,#(141*7 '># :!!!-*^8
	A?.
@ [[[288RZZ*@A[[Vc3Z0[[V%KL1 M 1 B1* [[U%:C$NO1 P11 [[3m]5STF UF [[T288,6;L2M  11 [[T288,6;L2M  '',8 [[T288,6;L2M  ++ [[DE F'(1&111 [[Wq"&&$e&EF1 G1;211
 
 [[/aA&A0CDAvq!Aq6Iv+>?	
11 [[ MN* O*$6,J#Z,1#)(.> [[z2.GR0BS9	

 '  11" [[z2.GR0BS9	

 '  '' [[Wr}}bnn&EF	$ G	$ [[V%UV[[Vc3Z0* 1 W* [[W&AB1 C1$<1 [[VdE]3: 4:0?1 [[U["--$@A1 B111+11" [[$#z3
C@$Gc:s+T25*c:sJLeT	
55"11$*111*11 [[A [[Vfi%IJC KC(1D
 [[UQH-1 .1 [[UQH-
1 .
1
1	1-. [[Z$)>?. @...1"-1 [[Wvuo6* 7*r;   r'   c                     a  ] tR tRt o R t]P                  P                  RR]P                  ]
].4      ]P                  P                  RR]! ^4      .4      R 4       4       t]P                  P                  ]'       * RR	7      ]P                  P                  R. ROR
R]P                   ..4      R 4       4       tRtV tR# )"TestSeriesConstructorIndexCoercioniv  c                   \        R ^R7      p\        \        P                  P	                  ^4      P                  \        V4      4      VP                  \        4      4      p\        VP                  \        4      '       d   Q hR# )r  r  N)r   r   r-   r   r   r   r   r/   rE   r   rc   r   )r3   rJ   r?   s   &  r8   3test_series_constructor_datetimelike_index_coercionVTestSeriesConstructorIndexCoercion.test_series_constructor_datetimelike_index_coercionw  s`    q1II!!!$44SX>

6@R

 cii77777r;   	containerNry   r>  c                    . RO. RO.pVe   V Uu. uF
  qA! V4      NK  	  pp\        W#R7      p\        VP                  \        4      '       g   Q hR# u upi )r   Nrb   )r   r   r   r   )r   r  r   r  )r   r   rc   r   )r3   r2  ry   indexesindmultis   &&&   r8   (test_series_constructor_infer_multiindexKTestSeriesConstructorIndexCoercion.test_series_constructor_infer_multiindex  sS     ()=> 189#y~G9t+%++z2222 :s   Az/StringDType only available in numpy 2 and abover  r   r   c                   ^ RI Hp \        P                  ! W! 4       R7      p\	        V4      pVP
                  \        P                  8X  g   Q hVR,          \        P                  J dH   VP                  RR VRR 8H  P                  4       '       g   Q hVP                  R,          R8X  g   Q hR# WA8H  P                  4       '       g   Q hR# )r   )StringDTyper+   Nr   r   )
numpy.dtypesr:  r-   rU   r   r,   r   r   r   r=   )r3   ry   r:  r  r6   s   &&   r8    test_np_string_array_object_castCTestSeriesConstructorIndexCoercion.test_np_string_array_object_cast  s     	-hht;=1SkyyBJJ&&&8rvv
 HHSbMT#2Y.33555588B<5(((K$$&&&&r;   rl   rW  )r
  r  r  r  r0  rR   rV  r)  r-   rU   r   r   r   r7  skipifr   r   r<  r  r  r  s   @r8   r.  r.  v  s     8 [[[465*IJ[[Vc58_53 6 K3 [[#T   [[#rvv	
''r;   r.  c                   2   a  ] tR tRt o R tR tR tRtV tR# )TestSeriesConstructorInternalsi  c                :   \        . RO4      p\        VP                  4      p\        P                  ! W4       \	        VP
                  P                  ^ ,          \        4      '       g   Q hVP
                  P                  ^ ,          P                  '       g   Q hR# )r   Nr   )	r   rU   r0   rF   r   r  r  r%   
is_numeric)r3   r?   r   s   &  r8    test_constructor_no_pandas_array?TestSeriesConstructorInternals.test_constructor_no_pandas_array  sk    Y		"
s+&++,,Q/<<<<{{!!!$/////r;   c                D   \        \        P                  ! R R.RR7      4      pVP                  P                  ^ ,          P
                  RJ g   Q h\        \        P                  ! R.RR7      4      pVP                  P                  ^ ,          P
                  RJ g   Q hR# 1h2hr[   r+   F2015rQ   N)r   r(  rU   r  r  is_extensionr   s   & r8   test_from_array.TestSeriesConstructorInternals.test_from_array  sz    $5FGH{{!!!$11U:::&1ABC{{!!!$11U:::r;   c                    \        R R.RR7      pVP                  P                  ^ ,          P                  RJ g   Q h\        R.RR7      pVP                  P                  ^ ,          P                  RJ g   Q hR# rF  )r   r  r  rJ  r   s   & r8   test_from_list_dtype3TestSeriesConstructorInternals.test_from_list_dtype  sh    t,=>{{!!!$11U:::(89{{!!!$11U:::r;   rl   N)	r
  r  r  r  rC  rK  rN  r  r  r  s   @r8   r@  r@    s     0;; ;r;   r@  c                 ~    T p\        V\        4      '       g   Q h\        VP                  \        4      '       g   Q hR # rp   )r   r   rc   r   )(rand_series_with_duplicate_datetimeindexdupss   & r8   r   r     s1    3DdF####djj-0000r;   zinput_dict,expectedr+   r   c                 r    \         P                  ! \        V 4      .4      p\        P                  ! W!4       R # rp   )r-   rU   r   r0   r  )
input_dictr7   r   s   && r8   test_numpy_arrayrU    s(     XXvj)*+F1r;   c                      \        RR.4      p \        ^^.V P                  4       R7      p\        ^^.\        P                  ! RR.4      R7      p\
        P                  ! W4       R# )r   Nrb   r(  r   r   )rW  r   )r   NrX  )rY  r   )r   r   r  r   r  r0   rF   )param_indexru  r7   s      r8   test_index_ordered_dict_keysr[    sl     )*	
K QF+"2"2"45F	
A$$%'@A
H 6,r;   
input_listr   c                     \        V 4      p\        VP                  4      pVP                  R 8X  g   Q h\        P                  ! W4       R# )
complex128Nr  )r\  r?   r   s   &  r8   test_series_with_complex_nanr_    s<     
CCIIF99$$$3'r;   c                      \        ^ ^^^/4      p \        ^^.\        ^4      R7      p\        P                  ! WRR7       R# )r   rb   Tr   N)r   r   r0   rF   )r   r7   s     r8   test_dict_keys_rangeindexra    s8    Q1aL!Fq!fJqM2H6dCr;   y      ?      ?y       @       @)Bcollectionsr   collections.abcr   r   r   dateutil.tzr   numpyr-   r	   rR   pandas._libsr
   r   pandas.compatr   pandas.compat.numpyr   pandas.errorsr   r   pandas.core.dtypes.dtypesr   pandasr(  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   pandas._testing_testingr0   pandas.core.arraysr"   r#   r$   pandas.core.internals.blocksr%   r'   r.  r@  r   rV  r)  rU   r  rE   rU  r[  complexr_  ra  rl   r;   r8   <module>rq     sc   # $
 !    & .
 7     &  
 4| * | *~A.' .'b; ;.1 
QA3%rxx01
sRXXugV45
QA3%rxx0122
-& 	
GENA	(((Dr;   