+
    xȇi>                     J   ^ RI H t Ht ^ RIHt ^ RI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 ^ RIHt  ! R R4      t]P2                  P5                  R^]! R4      ^.. RO3^]! R4      R.. RO3R]! R4      R.. RO3R]! R4      R.. RO3R	]! R4      R
.. RO3R]! ]P8                  ]P8                  4      ^.. RO3R]! R]P8                  4      ^.. RO3R]! ]P8                  R4      ^.. RO3.4      ]P2                  P5                  RRR.4      R 4       4       tR# )    )datetime	timedelta)StringION)NACategoricalCategoricalIndex	DataFrameIntervalIndex
MultiIndexNaTPeriodIndexSeries	Timestamp
date_rangeoption_contextperiod_rangec                   (  a  ] tR t^t o R tR tR tR tR tR t	R t
R tR	 tR
 tR tR t]P"                  P$                  R 4       tR tR t]P"                  P$                  R 4       tR tR tR tR tR tR tR tR tR tR t R t!R t"R t#]P"                  PI                  R]%PL                  ]%PN                  .4      ]P"                  PI                  R](R .])R!..4      R" 4       4       t*R# t+R$ t,R% t-R& t.R' t/R( t0R) t1R* t2R+ t3R, t4R-t5V t6R.# )/TestDataFrameReprc                    . ROp. ROpR.p\        WVR7      p\        VP                  4       4      \        J g   Q hWC^ ,          ,          p\        VP                  4       4      \        J g   Q hR# )   u   ψcolumnsindexN)r         r   )u   σu   τu   υu   φ)r	   type__repr__str)selfdataindex1colsdfsers   &     l/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/frame/test_repr.pytest_repr_should_return_str-TestDataFrameRepr.test_repr_should_return_str   s^     9zt8BKKM"c)))akCLLN#s***    c                   \        R 4      p\        P                  P                  ^4      P	                  VR4      p\        V4      P                  R4      pVP                  \        8H  P                  4       '       g   Q h\        V4       \        VP                  R,          4       \        VP                  R,          4       R# )ACDEFGHIJKLMNOPU1N)  2   ):N<   NNNN):N=   Nr/   )listnprandomdefault_rngchoicer	   astypedtypesobjectallrepriloc)r   letswordsr#   s   &   r%   test_repr_bytes_61_lines*TestDataFrameRepr.test_repr_bytes_61_lines,   s    %&		%%a(//jAu$$T*		V#((**** 	RRWWV_RWWV_r(   c                    \         P                  ! RR.RR.R7      p\        \        P                  P                  ^4      P                  R4      VR7      p\        P                  ! W14      p\        V4       R# )	r   u   Δi1namesr   N)r   r   )   rE   )      )
r   from_tuplesr	   r2   r3   r4   standard_normaltmget_objr:   )r   frame_or_seriesr   objs   &&  r%   test_repr_unicode_level_names/TestDataFrameRepr.test_repr_unicode_level_names8   sZ    &&'7$?OP		--a0@@HPUVjj.S	r(   c           	         \        R . ROR. ROR. RO/4      P                  R R.4      p\        VP                  4      pR	V^ &   W!n        \	        V4       RR.V^ &   W!n        \	        V4       R# )
abcfazbooNrE   rF   r   rG   r         r   	   )rT   rU   )r	   	set_indexr1   r   r:   )r   r#   r   s   &  r%   test_assign_index_sequences-TestDataFrameRepr.test_assign_index_sequences?   sj    YYYGHRR#J
 RXX!aR 5>aRr(   c                x    \        R ^^./\        \        R4      .RR..R7      p\        V4      pRpW#8X  g   Q hR# )X20130101rQ   rR   rD   z/              X
NaT        a  1
2013-01-01 b  2N)r	   r   r   r:   r   r#   resultexpecteds   &   r%   test_repr_with_mi_nat'TestDataFrameRepr.test_repr_with_mi_natN   sD    aV}c9Z3H-ICQT:,VWbF!!!r(   c                x    \        . RORR\        P                  \        .4      p\	        V4      pRpW#8X  g   Q hR# )rE   TNz'      0
True  1
None  2
NaN   3
NaT   4rE   rF   r   rG   )r	   r2   nanr   r:   rb   s   &   r%   test_repr_with_different_nulls0TestDataFrameRepr.test_repr_with_different_nullsT   s9    |dD"&&#%>?b
 !!!r(   c           	         \         P                  ^^.R^^.\        ^^.R^^	./p\        VR7      p\	        V4      pRpW48X  g   Q hR# )rE   NT)r    zG   NaN  None  NaT  True
0    1     3    6     8
1    2     4    7     9)r2   ri   r   r	   r:   )r   dr#   rc   rd   s   &    r%   #test_repr_with_different_nulls_cols5TestDataFrameRepr.test_repr_with_different_nulls_cols_   sT    VVaVTAq63Aq!fEAb !!!r(   c                    \        RRR/RR\        P                  /RR\        P                  /RR\        P                  /RRR /R	R\        P                  //4      pVP                  RR.4      p\	        V4       R# )
AA0006000NAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)rq   rr   nuitBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)r	   r2   ri   r\   r:   )r   df3idfs   &  r%   test_multiindex_na_repr)TestDataFrameRepr.test_multiindex_na_repri   s    4jA4bff=4bff=4bff=4c:4bff=	
 mmXx01S	r(   c                    \         P                  ! RR.. R	OR7      p\        R^ ^./VR7      p\        V4      P	                  R4      pV^,          P                  R4      '       g   Q hR# )
rQ   rB   valuerD   
za 0 fooN)rQ   r   foo)rR   rE   barrQ   rR   rS   )r   rH   r	   r:   split
startswith)r   r   r#   liness   &   r%   test_repr_name_coincide)TestDataFrameRepr.test_repr_name_coincidey   s`    &&o.o
 !Q(6Rt$Qx""9----r(   c                Z   TpTp\        V4       \        V4       \        VP                  4       \        VP                  4       \        4       pVP                  VR 7       VP                  VR 7       VP                  P                  VR 7       VP                  P                  VR 7       R# ))bufN)r:   Tr   	to_string)r   /multiindex_year_month_day_dataframe_random_data multiindex_dataframe_random_dataymdframer   s   &&&   r%   test_repr_to_string%TestDataFrameRepr.test_repr_to_string   s|    
 >0US	UWWSUUjC #c"C r(   c                    \        \        4       4       \        \        P                  ! R 4      R7      p\        V4       R# )r,   rD   N)r:   r	   r2   arange)r   r   s   & r%   test_repr_empty!TestDataFrameRepr.test_repr_empty   s'    Y[ 		$0Ur(   c                    \        V4       R # )N)r:   )r   float_string_frames   &&r%   test_repr_mixed!TestDataFrameRepr.test_repr_mixed   s     r(   c                j   \        R \        P                  P                  ^4      P	                  ^4      R\        ^4       Uu. uF  p\        V4      NK  	  up/\        ^4      R7      p\        P                  VP                  R&   \        P                  VP                  R&   \        V4       R# u upi )rq   BrD   N)N   Nrq   )r   r   )
r	   r2   r3   r4   rI   ranger   ri   locr:   )r   ibiggies   &  r%   test_repr_mixed_big%TestDataFrameRepr.test_repr_mixed_big   s     RYY**1-==cBeCj1jc!fj1 *
  "vv

8!vv

8V 2s   B0c                    \        . R
OR7      p\        V4       \        R.R.R.R7      pR\        V4      9  g   Q hR\        V4      9  g   Q hR\        V4      9  g   Q hR	# )r   r   za
	bza
	dza
	fr   	za
N)r   rE   r   )r	   r:   )r   no_indexr#   s   &  r%   	test_reprTestDataFrameRepr.test_repr   s]    Y/X
|j\*N48###48###DH$$$r(   c                   \        ^^.^^..4      p\        RR4      ;_uu_ 4        R\        V4      9   g   Q h RRR4       \        RR4      ;_uu_ 4        R\        V4      9  g   Q h RRR4       \        RR4      ;_uu_ 4        R\        V4      9  g   Q h RRR4       R#   + '       g   i     Lr; i  + '       g   i     LU; i  + '       g   i     R# ; i)rE   zdisplay.show_dimensionsTz2 rows x 2 columnsNFtruncater	   r   r:   r   r#   s   & r%   test_repr_dimensions&TestDataFrameRepr.test_repr_dimensions   s    AA'(5t<<'48333 = 5u=='tBx777 > 5zBB'tBx777 CB =< >= CBBs#   B$B7C
$B4	7C	
C	c                    \        \        P                  ! R4      \        ^4      \        ^4      R7      p\	        V4       R# )   r   N)r   rG   )r	   r2   zerosr   r:   )r   r   s   & r%   test_repr_bigTestDataFrameRepr.test_repr_big   s*     288H-uQxuSzRVr(   c                   \        R ^.^2,          \        P                  ! 4       ^.^2,          RR.^2,          \        P                  ! 4       \        ^4      ,           R.^2,          /\        P
                  ! ^24      R7      p\        V4       R# )r   r   rD   N)r	   r   todayr   r2   r   r:   )r   
unsortables   & r%   test_repr_unsortable&TestDataFrameRepr.test_repr_unsortable   sm     sRx 1#(w| 9Q</%2	 ))B-

 	Zr(   c                   \        V4       \        R ^4      ;_uu_ 4        \        V4       RRR4       \        R^
R^4      ;_uu_ 4        \        V4       RRR4       \        RRRR4      ;_uu_ 4        \        V4       RRR4       R#   + '       g   i     Lf; i  + '       g   i     LO; i  + '       g   i     R# ; i)zdisplay.precisionNzdisplay.max_rowsdisplay.max_columnsr,   )r:   r   )r   float_frames   &&r%   test_repr_float_frame_options/TestDataFrameRepr.test_repr_float_frame_options   s    [/33 4 .4I1MM N .6KTRR SR 43 NM SRRs#   B

B4B0
B	B-	0C	c                &   R p\        RW./4      p\        V4      pRpVP                  R4      ^ ,          P                  4       V8X  g   Q h\        RW./4      p\        V4      pVP                  R4      ^ ,          P                  4       V8X  g   Q hR# )u   σσσσrq   z      Ar   N)r	   r:   r   rstrip)r   uvalr#   rc   ex_tops   &    r%   test_repr_unicode#TestDataFrameRepr.test_repr_unicode   s    )d\*+b||D!!$++-777d\*+b||D!!$++-777r(   c                8    \        R R./4      p\        V4       R# )rq      אN)r	   r   r   s   & r%    test_unicode_string_with_unicode2TestDataFrameRepr.test_unicode_string_with_unicode   s    hZ()Br(   c           	     ^    \        R . ROR. ROR. RO/4      p\        VP                  4       R# )r   u   בrS   NrV   rW   rY   )r	   r:   r   r   s   & r%   test_repr_unicode_columns+TestDataFrameRepr.test_repr_unicode_columns   s%    )Xy#yQRRZZr(   c                    \        R R./4      pRp\        P                  ! \        VR7      ;_uu_ 4        \	        V4       RRR4       R#   + '       g   i     R# ; i)rq   abcz2^'str' object cannot be interpreted as an integer$)matchN)r	   pytestraises	TypeErrorbytes)r   r#   msgs   &  r%   test_str_to_bytes_raises*TestDataFrameRepr.test_str_to_bytes_raises   s>    eW~&B]]9C00"I 1000s   AA	c                    \        \        P                  P                  ^4      P	                  R4      \        P
                  ! R.^,          \        R7      R7      p\        V4       R# )rF   dtyper   N)
   r   
aaaaaaaaaa)r	   r2   r3   r4   rI   arrayr8   r:   r   s   & r%   test_very_wide_repr%TestDataFrameRepr.test_very_wide_repr  sF    II!!!$44X>HHhZ"_F;
 	Rr(   c                    \        R R.RR/4      p\        R^4      ;_uu_ 4        R\        V4      9   g   Q h RRR4       R#   + '       g   i     R# ; i)Idizl 	StringColu  Is it possible to modify drop plot codeso that the output graph is displayed in iphone simulator, Is it possible to modify drop plot code so that the output graph is â¨displayed in iphone simulator.Now we are adding the CSV file externally. I want to Call the File through the code..r   Nr   r   s   & r%   ,test_repr_column_name_unicode_truncation_bug>TestDataFrameRepr.test_repr_column_name_unicode_truncation_bug	  sQ    wi2
  1266$r(*** 7666s   AA	c                   \         P                  ! R 4       Rp\        RRRR4      ;_uu_ 4        \        . RO. RO.4      pVP	                  4       pW18X  g   Q h RRR4       XP	                  4       e   Q hR#   + '       g   i     L&; i)jinja2z{\begin{tabular}{llll}
\toprule
 & 0 & 1 & 2 \\
\midrule
0 & $\alpha$ & b & c \\
1 & 1 & 2 & 3 \\
\bottomrule
\end{tabular}
zstyler.format.escapeNzstyler.render.reprlatex)z$\alpha$rR   rS   rV   )r   importorskipr   r	   _repr_latex_r   rd   r#   rc   s   &   r%   test_latex_repr!TestDataFrameRepr.test_latex_repr  s    H% "D*>
 
 3Y?@B__&F%%%
  (((
 
s   *A88B	c                h    \        R . RO/\        R^R7      R7      p\        V4      pRpW#8X  g   Q hR# )rq   2000)periodsrD   z7            A
2000-01-01  1
2000-01-02  2
2000-01-03  3NrV   r	   r   r:   rb   s   &   r%   test_repr_with_datetimeindex.TestDataFrameRepr.test_repr_with_datetimeindex3  s4    Y'z&!/LMbO!!!r(   c                ~    \        R . RO/\        P                  ! . RO4      R7      p\        V4      pRpW#8X  g   Q hR# )rq   rD   z1        A
(0, 1]  1
(1, 2]  2
(2, 3]  3
(3, 4]  4Nrh   )r   rE   rF   r   rG   )r	   r
   from_breaksr:   rb   s   &   r%   test_repr_with_intervalindex.TestDataFrameRepr.test_repr_with_intervalindex9  s=    ,}'@'@'Q
 bJ!!!r(   c                h    \        R . RO/\        . RO4      R7      p\        V4      pRpW#8X  g   Q hR# )rq   rD   z   A
a  1
b  2
c  3NrV   r   )r	   r   r:   rb   s   &   r%    test_repr_with_categorical_index2TestDataFrameRepr.test_repr_with_categorical_indexB  s3    Y'/?/PQb+!!!r(   c                    \        R R^RR7      p\        RR^R7      p\        RVRV/4      pR	p\        V4      V8X  g   Q h\        R\	        V4      R\	        V4      /4      p\        V4      V8X  g   Q hR
# )z2011-01-01 09:00hz
US/Eastern)freqr   tzz2011-01M)r   r   dtpz                         dt        p
0 2011-01-01 09:00:00-05:00  2011-01
1 2011-01-01 10:00:00-05:00  2011-02
2 2011-01-01 11:00:00-05:00  2011-03
3 2011-01-01 12:00:00-05:00  2011-04
4 2011-01-01 13:00:00-05:00  2011-05N)r   r   r	   r:   r   )r   r   r   r#   expdf2s   &     r%   #test_repr_categorical_dates_periods5TestDataFrameRepr.test_repr_categorical_dates_periodsH  sz    *aLQa8b#q)*( Bx3{2[^DECyCr(   argzbox, expectedz0    NaT
dtype: objectz     0
0  NaTc                R    \        V! V! R 4      .\        R7      4      pWC8X  g   Q hR# )r   r   N)r:   r8   )r   r  boxrd   rc   s   &&&& r%   test_repr_np_nat_with_object.TestDataFrameRepr.test_repr_np_nat_with_objectY  s'     c3u:,f56!!!r(   c           	     N    \        R \        R^2RR7      /4      p\        V4       R# )yearz1/1/1700zYE-DEC)r   r   Nr   r   s   & r%   "test_frame_datetime64_pre1900_repr4TestDataFrameRepr.test_frame_datetime64_pre1900_reprc  s!    
:r QRSRr(   c                    \        . RORR7      p\        \        P                  P	                  ^4      P                  R4      VR7      pVP                  4        R# )2011-1r   )r   rD   N)r  z2011-2z2011-3)r   rG   )r   r	   r2   r3   r4   rI   r   )r   r   r   s   &  r%   %test_frame_to_string_with_periodindex7TestDataFrameRepr.test_frame_to_string_with_periodindexh  sB    :E"))//2BB6JRWX 	r(   c           
         \        R ^^./\        P                  ! \        \        ^.RR7      .4      R7      pVP                  4       pRpW#8X  g   Q hR# )rQ   Int64r   rD   z      a
<NA>  1
1     2N)r	   r   from_arraysr   r   r   rb   s   &   r%   "test_to_string_ea_na_in_multiindex4TestDataFrameRepr.test_to_string_ea_na_in_multiindexo  sU    1a&M((&"a*H)IJ

  !!!r(   c           	         \        R \        R^
RR7      /4      p\        V4      pVP                  R,          p\        V4      pW28X  g   Q hR# )x2019UTC)r   r   N)r/   :Nr   N)r	   r   r:   r;   r   r#   rd   rc   s   &   r%   $test_datetime64tz_slice_non_truncate6TestDataFrameRepr.test_datetime64tz_slice_non_truncate|  sE    ZuEFG8WWU^b!!!r(   c                    \        R R.RR.RR..RR.R7      pVRR.,          P                  4       VR	&   R
p\        V4      pW28X  g   Q hR# )rQ   rR   rS   rm   efleftrightr   recordz_  left right     record
0    a     b  [0, a, b]
1    c     d  [1, c, d]
2    e     f  [2, e, f]N)r	   
to_recordsr:   r  s   &   r%   $test_to_records_no_typeerror_in_repr6TestDataFrameRepr.test_to_records_no_typeerror_in_repr  s`    c
S#Jc
;fgEVW67+,7798 b!!!r(   c                    \        R \        P                  .RR.RR..RR.R7      pVRR.,          P                  4       VR&   R	p\	        V4      pW28X  g   Q hR
# )rQ   rS   rm   r  r   r!  r"  r   r#  zg  left right       record
0    a   NaN  [0, a, nan]
1    c     d    [1, c, d]
2    e     f    [2, e, f]Nr	   r2   ri   r$  r:   r  s   &   r%   $test_to_records_with_na_record_value6TestDataFrameRepr.test_to_records_with_na_record_value  si    266]S#Jc
3fg=N
 67+,7798 b!!!r(   c                   \        R R.\        P                  \        P                  .RR..\        P                  R.R7      pV\        P                  R.,          P                  4       VR&   Rp\	        V4      pW28X  g   Q hR# )	rQ   rR   r  r   r"  r   r#  zo   NaN right         record
0    a     b      [0, a, b]
1  NaN   NaN  [1, nan, nan]
2    e     f      [2, e, f]Nr(  r  s   &   r%   test_to_records_with_na_record0TestDataFrameRepr.test_to_records_with_na_record  sv    3Z"&&"&&)C:6@Q
 2667+,7798 b!!!r(   c                \   R p\        \        P                  R.\        P                  \        P                  .RR..\        P                  \        P                  .R7      pV\        P                  \        P                  .,          P	                  4       VR&   \        V4      pW18X  g   Q hR# )zk   NaN  inf         record
0  inf    b    [0, inf, b]
1  NaN  NaN  [1, nan, nan]
2    e    f      [2, e, f]rR   r  r   r   r#  N)r	   r2   infri   r$  r:   r   s   &   r%   test_to_records_with_inf_record1TestDataFrameRepr.test_to_records_with_inf_record  s     ffc]RVVRVV,sCj9VVRVV$
 266266*+6688b!!!r(   c           
         \        R \        RR.RR7      R\        ^^.RR7      /4      pVP                  RP                  RP                  .R7      pR	pW#8X  g   Q hR
# )rQ   g_c97ݚ?g6sӭ?Float64r   rR   r  z{:.2f})
formattersz)      a     b
0  0.12  1.00
1  1.12  2.00N)r	   r   r   formatrb   s   &   r%   test_masked_ea_with_formatter/TestDataFrameRepr.test_masked_ea_with_formatter  sf    V[+6iHVQF'2
 (//8??)KL !!!r(   c                    \         P                  ! R 4       \        R. ROR. RO/4      pVP                  P	                  V4      Vn        Rp\        V4      V8X  g   Q hR# )pyarrowlong_column_namecol2zg   long_column_name  col2
0                 1     4
1                 2     5
2                 3     6NrV   rW   )r   r   r	   r   r6   r:   )r   any_string_dtyper#   rd   s   &&  r%   test_repr_ea_columns&TestDataFrameRepr.test_repr_ea_columns  sV    I&*IvyIJZZ&&'78
 Bx8###r(    N)7__name__
__module____qualname____firstlineno__r&   r>   rN   r]   re   rj   rn   r|   r   r   r   r   r   markslowr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  parametrizer2   
datetime64timedelta64r   r	   r  r  r  r  r  r%  r)  r,  r0  r6  r=  __static_attributes____classdictcell__)__classdict__s   @r%   r   r      s`    +
"	"" .!&! [[ %	8 [[ 

8+*)*""" " [[UR]]BNN$CD[[
+	,y:J.KL"	 E
"

""	"""""	$ 	$r(   r   zdata,outputri   y        Gz?gGz?g333333?as_frameTFc                    \        \        P                  ! V 4      4      pV'       df   VP                  R R7      p\	        V4       UUu. uF  w  rEV RV 2NK  	  pppR R\        V^ ,          4       2 R2RP                  V4      ,           pM;\	        V4       UUu. uF  w  rEV RV 2NK  	  pppRP                  V4      R,           p\        V4      V8X  g   Q RV: RV 24       hR# u uppi u uppi )	val)name z >r   z   z
dtype: complex128z

N)r   r2   r   to_frame	enumeratelenjoinr   )r    outputrL  rM   r   rN  reprsrd   s   &&&     r%   test_repr_with_complex_nansrW    s    2 $
 Clll&,5f,=>,=&!A3au,=>Bs58}o-.b1DIIe4DD.7.?@.?FAA3c#.?@99U#&;;s8x;2cWD
!;; ? As   C(C.)	 2.0+0.0j	 NaN+0.0jz	 1.0+0.0j)rX  rY  	-1.0+0.0j)z	-2.0+0.0jrY  r[  y       Gz)-0.00-1.23j  NaN+0.00jz-1.00+0.00j)z 0.00+1.23jr^  z 1.23+0.00j)r]  z  NaN+ NaNj 1.00+0.00j)r]  z 1.20+ NaNjr_  g333333)r]  z  NaN-1.20jr_  )r   r   ior   numpyr2   r   pandasr   r   r   r	   r
   r   r   r   r   r   r   r   r   pandas._testing_testingrJ   r   rD  rF  complexri   rW  r?  r(   r%   <module>rf     sH         r$ r$j 
WU^Q	!HI
WU^R	 "IJ
genb	!#JK
'%."	%'TU
	&(UVWRVVRVV,a09	

 WS"&&)1-9	

 WRVVT*A.9	
, dE]3
< 4-.
<r(   