+
    xȇi                     P    ^ RI t^ RIt^ RIt^ RIHt ^ RIH	t	 R t
 ! R R4      tR# )    N)read_sasc                     V P                    FV  pW,          P                  \        P                  ! R 4      J g   K/  W,          P                  \        P                  4      W&   KX  	  R# )int64N)columnsdtypenpastypefloat64)datavs   & n/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/io/sas/test_xport.pynumeric_as_floatr      s=    \\7==BHHW--gnnRZZ0DG     c                      a  ] tR t^t o ]P
                  P                  R 4       tR tR t	R t
R tR tR tR tR	tV tR
# )	TestXportc                Z   V! R RRR4      p\         P                  ! VP                  RR4      4      p\        V4       \	        VRR7      p\
        P                  ! WC4       VP                  ^ ,          p\	        VRRR	7      ;_uu_ 4       pVP                  V^d,           4      pR
R
R
4       VP                  ^ ,          V8X  g   Q h\	        VRRR	7      ;_uu_ 4       pVP                  ^
4      pR
R
R
4       \
        P                  ! WCP                  R,          4       \	        VR^
R7      ;_uu_ 4       pVP                  4       pR
R
R
4       \
        P                  ! WCP                  R,          4       ^ p\	        VR^dR7      ;_uu_ 4       pV F  pWxP                  ^ ,          ,          pK  	  R
R
R
4       Wu8X  g   Q h\	        V4      p\
        P                  ! WC4       R
#   + '       g   i     ELF; i  + '       g   i     EL; i  + '       g   i     L; i  + '       g   i     Lv; i)iosasr   
DEMO_G.xpt.xpt.csvxportformatT)r   iteratorN)r   	chunksize:r   
   N:NNN)pdread_csvreplacer   r   tmassert_frame_equalshapereadiloc	get_chunk)	selfdatapathfile01data_csvr   num_rowsreadermxs	   &&       r   test1_basicTestXport.test1_basic   s   
 $v|<;;v~~ff=>" w/
d-::a= fWt<<;;x#~.D =zz!}((( fWt<<;;r?D =
dMM'$:; fW;;v##%D <
dMM'$:; fW<<WWQZ  = }} 
d-/ =<<
 =<<
 <; =<s0   	GG31H	#HG0	3H	H	H*	c                   V! R RRR4      p\         P                  ! VP                  RR4      4      pVP                  R4      p\	        V4       \        VRRR7      p\        P                  ! WCR	R
7       \        VRRRR7      ;_uu_ 4       pVP                  ^
4      pRRR4       \        P                  ! WCP                  R,          R	R
7       \        VRR^
R7      ;_uu_ 4       pVP                  4       pRRR4       \        P                  ! WCP                  R,          R	R
7       R#   + '       g   i     L; i  + '       g   i     LN; i)r   r   r   r   r   r   SEQNr   )indexr   Fcheck_index_typeT)r4   r   r   N)r4   r   r   r   )r   r    r!   	set_indexr   r   r"   r#   r%   r&   r'   )r(   r)   r*   r+   r   r-   s   &&    r   test1_indexTestXport.test1_index>   s     $v|<;;v~~ff=>%%f-" fW=
duE fF7TJJf;;r?D K
dMM'$:US fF7bIIV##%D J
dMM'$:US KJ
 JIs   D)%D<)D9	<E	c                z   V! R RRR4      p\         P                  ! VP                  RR4      4      pVP                  R4      p\	        V4       \        VRRR7      ;_uu_ 4       p\        V4      pR	R	R	4       \         P                  ! X^ R
7      p\        P                  ! WcRR7       R	#   + '       g   i     LB; i)r   r   r   r   r   r   r3   i  )r4   r   N)axisFr5   )
r   r    r!   r7   r   r   listconcatr"   r#   )r(   r)   r*   r+   r-   all_datar   s   &&     r   test1_incrementalTestXport.test1_incrementalU   s     $v|<;;v~~ff=>%%f-"fFd;;vF|H <yy*
duE	 <;s   $B**B:	c                    V! R RRR4      p\         P                  ! VP                  RR4      4      p\        V4       \	        V4      p\
        P                  ! WC4       R# )r   r   r   SSHSV1_A.xptr   r   N)r   r    r!   r   r   r"   r#   )r(   r)   file02r+   r   s   &&   r   test2TestXport.test2c   sM     $v~>;;v~~ff=>"
d-r   c                &   V! R RRR4      p\         P                  ! VP                  RR4      4      p\        V4       \	        VR4      ;_uu_ 4       p\        VRR7      pR	R	R	4       \        P                  ! XV4       R	#   + '       g   i     L); i)
r   r   r   rB   r   r   rbr   r   N)r   r    r!   r   openr   r"   r#   )r(   r)   rC   r+   fdr   s   &&    r   test2_binaryTestXport.test2_binaryn   sr     $v~>;;v~~ff=>"&$2 Bw/D  
 	dH-  s   B  B	c                    V! R RRR4      p\         P                  ! VP                  RR4      4      p\        VRR7      p\        P
                  ! WC4       R# )	r   r   r   zDRXFCD_G.xptr   r   zutf-8)encodingN)r   r    r!   r   r"   r#   )r(   r)   file03r+   r   s   &&   r   test_multiple_typesTestXport.test_multiple_types}   sG     $v~>;;v~~ff=>1
d-r   c                    V! R RRR4      p\         P                  ! VP                  RR4      4      p\        VRR7      p\        P
                  ! VP                  R4      V4       R	# )
r   r   r   zpaxraw_d_short.xptr   r   r   r   r   N)r   r    r!   r   r"   r#   r	   )r(   r)   file04r+   r   s   &&   r   test_truncated_float_support&TestXport.test_truncated_float_support   sS     $v/CD;;v~~ff=>w/
dkk'2H=r   c           
         R p\         P                  ! \        VR7      ;_uu_ 4        \        V! RRRR4      RR7       RRR4       R#   + '       g   i     R# ; i)	z<Header record indicates a CPORT file, which is not readable.)matchr   r   r   zDEMO_PUF.cptr   r   N)pytestraises
ValueErrorr   )r(   r)   msgs   && r   test_cport_header_found_raises(TestXport.test_cport_header_found_raises   s?     M]]:S11XdE6>B7S 2111s   AA	 N)__name__
__module____qualname____firstlineno__rW   markslowr0   r8   r?   rD   rJ   rO   rS   r[   __static_attributes____classdictcell__)__classdict__s   @r   r   r      sN     [[%. %.NT.F	...
>T Tr   r   )numpyr   rW   pandasr   pandas._testing_testingr"   pandas.io.sas.sasreaderr   r   r   r]   r   r   <module>rl      s'        ,1DT DTr   