+
    xȇi                     B    ^ RI t ^ RIHtHtHt ^ RIHt  ! R R4      tR# )    N)	DataFrameIndexSeriesc                   n   a  ] tR t^t o R tR t]P                  P                  R4      R 4       t	Rt
V tR# )TestToFramec                \   \        \        ^4      4      pVP                  R4      p\        R.\        R7      p\
        P                  ! VP                  V4       VP                  R4      P                  R4      p\        R.\        R7      p\
        P                  ! VP                  V4       R# )   N)dtypefoo)	r   rangeto_framer   objecttmassert_index_equalcolumnsrename)selfserresult	exp_indexs   &   y/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/series/methods/test_to_frame.py test_to_frame_respects_name_none,TestToFrame.test_to_frame_respects_name_none   s}     U1Xd#4&/	
fnni8E"++D14&/	
fnni8    c                   R Vn         VP                  4       p\        VP                  VP                  R7      p\
        P                  ! W#4       RVn         VP                  4       p\        RVP                  /VP                  R7      p\
        P                  ! W#4       VP                  RR7      p\        RVP                  /VP                  R7      p\
        P                  ! W#4       R # )N)indextestnametestdifferentname)r    r   r   valuesr   r   assert_frame_equal)r   datetime_seriesrsxps   &&  r   test_to_frameTestToFrame.test_to_frame   s    #%%'--_5J5JK
b%)%%'//08M8M
 	b%%%?%;o445_=R=R
 	b%r   zMignore:Passing a BlockManager|Passing a SingleBlockManager:DeprecationWarningc                   a  ! V3R  lR\         4      p ! R R\        4      oV! . RORR7      pVP                  4       p\        VS4      '       g   Q hS! R. RO/4      p\        P
                  ! W44       R# )c                   8   <a  ] tR t^3t o ]V3R l4       tRtV tR# )=TestToFrame.test_to_frame_expanddim.<locals>.SubclassedSeriesc                   < S# )N )r   SubclassedFrames   &r   _constructor_expanddimTTestToFrame.test_to_frame_expanddim.<locals>.SubclassedSeries._constructor_expanddim4   s	    &&r   r,   N)__name__
__module____qualname____firstlineno__propertyr.   __static_attributes____classdictcell__)__classdict__r-   s   @r   SubclassedSeriesr*   3   s     ' 'r   r8   c                       ] tR t^8tRtR# )<TestToFrame.test_to_frame_expanddim.<locals>.SubclassedFramer,   N)r0   r1   r2   r3   r5   r,   r   r   r-   r:   8   s    r   r-   Xr   N)      r	   )r   r   r   
isinstancer   r"   )r   r8   r   r   expectedr-   s   &    @r   test_to_frame_expanddim#TestToFrame.test_to_frame_expanddim-   sd    	'v 	'
	i 	 ys3&/2222"C#34
f/r   r,   N)r0   r1   r2   r3   r   r&   pytestmarkfilterwarningsr@   r5   r6   )r7   s   @r   r   r      s5     9&& [[W00r   r   )	rB   pandasr   r   r   pandas._testing_testingr   r   r,   r   r   <module>rH      s!     
 40 40r   