+
    yȇi                        ^ RI Ht ^ RIt^ RIt^ RIt^ RIHtHt ^ RIt^ RI	H
t
 ^ RIt]'       d   ^ RIHt ^ RIHt ^ RIHtHt R R	 ltR
 R ltRR R lltR# )    )annotationsN)TYPE_CHECKINGAny)import_optional_dependency)Callable)Path)	DataFrameSeriesc               $    V ^8  d   QhRRRRRR/# )   objr   tmp_pathr   returnzDataFrame | Series )formats   "c/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/_testing/_io.py__annotate__r      s"     $ $3 $$ $3E $    c                Z    \         P                  ! W4       \         P                  ! V4      # )aQ  
Pickle an object and then read it again.

Parameters
----------
obj : any object
    The object to pickle and then re-read.
path : str, path object or file-like object, default None
    The path where the pickled object is written and then read.

Returns
-------
pandas object
    The original object that was pickled and then re-read.
)pd	to_pickleread_pickle)r   r   s   &&r   round_trip_pickler      s      LL>>(##r   c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   1   s       r   c                &    V ! V4       V! V4      pV# )a  
Write an object to file specified by a pathlib.Path and read it back

Parameters
----------
writer : callable bound to pandas object
    IO writing function (e.g. DataFrame.to_csv )
reader : callable
    IO reading function (e.g. pd.read_csv )
path : str, default None
    The path where the object is written and then read.

Returns
-------
pandas object
    The original object that was serialized and then re-read.
r   )writerreaderr   r   s   &&& r   round_trip_pathlibr   1   s    $ 8

CJr   c               $    V ^8  d   QhRRRRRR/# )r   pathstrdestr   Noner   )r   s   "r   r   r   H   s!     9" 9"3 9"C 9"T 9"r   c                j   V3pRpRpV R8X  d   \         P                  pRpW23pRpMV R8X  dV   \        P                  pRp\        P                  ! VR7      p\
        P                  ! V4      p	\        V4      Vn        W3pRpMsV R	8X  d   \        P                  pM[V R
8X  d   ^ RIp
V
P                  pMCV R8X  d   \        R4      P                  pM&V R8X  d   ^ RIpVP                   pM\#        RV  24      hV! WR7      ;_uu_ 4       p\%        W4      ! V!   RRR4       R#   + '       g   i     R# ; i)aj  
Write data to a compressed file.

Parameters
----------
compression : {'gzip', 'bz2', 'zip', 'xz', 'zstd'}
    The compression type to use.
path : str
    The file path to write the data.
data : str
    The data to write.
dest : str, default "test"
    The destination file (for ZIP only)

Raises
------
ValueError : An invalid compression value was passed in.
wbwritezipwwritestrtar)nameaddfilegzipbz2Nzstd	zstandardxzzUnrecognized compression type: )mode)zipfileZipFiletarfileTarFileTarInfoioBytesIOlensizer-   GzipFiler.   BZ2Filer   openlzmaLZMAFile
ValueErrorgetattr)compressionr    datar"   argsr2   methodcompress_methodfilebytesr.   r?   fs   &&&&         r   write_to_compressedrK   H   s   & "GDDF e!//|		!//D)

4 I	}		--		++		4[AFF		--:;-HII 
	)	)QD! 
*	)	)	)s   D!!D2	)test)
__future__r   r-   r8   r5   typingr   r   r3   pandas.compat._optionalr   pandasr   collections.abcr   pathlibr   r	   r
   r   r   rK   r   r   r   <module>rS      sC    "  	   > ($(.9" 9"r   