+
    ÎÜ³jß+  ã                   ó´   € ^ RI Ht ^ RIt^ RIt^ RIHt ^ RIHtHtH	t	H
t
 ^ RIHt ^ RIHt ^ RIHt  ! R R4      tR	 t0 RmtRR
 ltRR ltRR ltRR ltR# )é    )ÚSequenceN)Ú_pandas_api)ÚCodecÚTableÚconcat_tablesÚschema)Ú_feather)ÚFeatherErrorc                   óH   a € ] tR t^t o RtRR ltR	R ltR tR
R ltRt	V t
R# )ÚFeatherDatasetzî
Encapsulates details of reading a list of Feather files.

Parameters
----------
path_or_paths : List[str]
    A list of file names
validate_schema : bool, default True
    Check that individual file schemas are all the same / compatible
c                ó   € Wn         W n        R # ©N)ÚpathsÚvalidate_schema)ÚselfÚpath_or_pathsr   s   &&&ÚP/home/luca/screen-checking/.venv/lib/python3.14/site-packages/pyarrow/feather.pyÚ__init__ÚFeatherDataset.__init__+   s   € Ø"Œ
Ø.Öó    Nc                ób  € \        V P                  ^ ,          VR7      pV.V n        VP                  V n        V P                  R,           FM  p\        W1R7      pV P                  '       d   V P                  W44       V P                  P                  V4       KO  	  \        V P                  4      # )zÜ
Read multiple feather files as a single pyarrow.Table

Parameters
----------
columns : List[str]
    Names of columns to read from the file

Returns
-------
pyarrow.Table
    Content of the file as a table (of columns)
©Úcolumns:é   NN)Ú_read_table_internalr   Ú_tablesr   r   Úvalidate_schemasÚappendr   )r   r   Ú_filÚpathÚtables   &&   r   Ú
read_tableÚFeatherDataset.read_table/   s‡   € ô $ D§J¡J¨q¥M¸7ÔCˆØ�vˆŒØ—k‘kˆŒà—J‘J˜r—N�NˆDÜ(¨Ô?ˆEØ×#×#Ð#Ø×%Ñ% dÔ2Ø�L‰L×Ñ Ö&ñ	 #ô
 ˜TŸ\™\Ó*Ð*r   c                ó¬   € V P                   P                  VP                   4      '       g)   \        R V RV P                    RVP                    24      hR# )z
Schema in z was different. 
z

vs

N)r   ÚequalsÚ
ValueError)r   Úpiecer!   s   &&&r   r   ÚFeatherDataset.validate_schemasH   sQ   € Ø�{‰{×!Ñ! %§,¡,×/Ò/Ü˜z¨%¨Ð0BØ $§¡˜}¨J°u·|±|°nðFó Gð Gñ 0r   c                óF   € V P                  VR7      P                  VR7      # )aA  
Read multiple Parquet files as a single pandas DataFrame

Parameters
----------
columns : List[str]
    Names of columns to read from the file
use_threads : bool, default True
    Use multiple threads when converting to pandas

Returns
-------
pandas.DataFrame
    Content of the file as a pandas DataFrame (of columns)
r   )Úuse_threads)r"   Ú	to_pandas)r   r   r*   s   &&&r   Úread_pandasÚFeatherDataset.read_pandasM   s*   € ð  �‰ wˆÓ/×9Ñ9Ø#ð :ó %ð 	%r   )r   r   r   r   )Tr   )NT)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r"   r   r,   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s$   ø‡ € ñ	ô/ô+ò2G÷
%ò %r   r   c                 óð   € VP                   ^8X  d   R# VP                  \        P                  ! 4       \        P                  ! 4       39   d   \        RV  R24      h\        RV  RVP                   R24      h)r   NzColumn 'zg' exceeds 2GB maximum capacity of a Feather binary column. This restriction may be lifted in the futurez
' of type zU was chunked on conversion to Arrow and cannot be currently written to Feather format)Ú
num_chunksÚtypeÚextÚbinaryÚstringr&   )ÚnameÚcols   &&r   Úcheck_chunked_overflowr>   a   sw   € Ø
‡~�~˜ÔÙà
‡x�x”C—J’J“L¤#§*¢*£,Ð/Ô/Ü˜8 D 6ð *0ð 0ó 1ð 	1ô
 Ø�t�f˜J s§x¡x jð 1@ð @ó
ð 	
r   c           	     óŒ  € V^8X  d   \         P                  ! R\        ^R7       \        P                  '       dQ   \        P
                  '       d;   \        V \        P                  P                  4      '       d   V P                  4       p \        P                  ! V 4      '       dz   V^8X  d   RpMV^8X  d   RpM\        R4      h\        P                  ! WR7      pV^8X  d<   \        VP                  P                   4       F  w  r‰Wx,          p
\#        Wš4       K  	  MT pV^8X  da   \%        VP&                  4      \%        \)        VP&                  4      4      8”  d   \        R4      hVe   \        R4      hVe   \        R	4      hMGVf    \*        P,                  ! R
4      '       d   RpM$Ve!   V\.        9  d   \        RV R\.         24      h \0        P2                  ! WqVVWER7       R#   \4         dL    \        T\6        4      '       d4    \8        P:                  ! T4       h   \8        P<                   d     h i ; ih i ; i)aÙ  
Write a pandas.DataFrame to Feather format.

Parameters
----------
df : pandas.DataFrame or pyarrow.Table
    Data to write out as Feather format.
dest : str
    Local destination path.
compression : string, default None
    Can be one of {"zstd", "lz4", "uncompressed"}. The default of None uses
    LZ4 for V2 files if it is available, otherwise uncompressed.
compression_level : int, default None
    Use a compression level particular to the chosen compressor. If None
    use the default compression level
chunksize : int, default None
    For V2 files, the internal maximum size of Arrow RecordBatch chunks
    when writing the Arrow IPC file format. None means use the default,
    which is currently 64K
version : int, default 2
    Feather file version. Version 2 is the current. Version 1 is the more
    limited legacy format.

    .. deprecated:: 25.0.0
       Writing Feather V1 files is deprecated. Use the default
       ``version=2`` to write Arrow IPC files instead.
z™Feather V1 files are deprecated as of 25.0.0 and support will be removed in a future version. Use the default version=2 to write Arrow IPC files instead.©Ú
stacklevelFNz%Version value should either be 1 or 2)Úpreserve_indexz'cannot serialize duplicate column namesz2Feather V1 files do not support compression optionz0Feather V1 files do not support chunksize optionÚ	lz4_frameÚlz4zcompression="z " not supported, must be one of )ÚcompressionÚcompression_levelÚ	chunksizeÚversion)ÚwarningsÚwarnÚDeprecationWarningr   Úhave_pandasÚ
has_sparseÚ
isinstanceÚpdÚSparseDataFrameÚto_denseÚis_data_framer&   r   Úfrom_pandasÚ	enumerater   Únamesr>   ÚlenÚcolumn_namesÚsetr   Úis_availableÚ_FEATHER_SUPPORTED_CODECSr	   Úwrite_featherÚ	ExceptionÚstrÚosÚremoveÚerror)ÚdfÚdestrE   rF   rG   rH   rB   r!   Úir<   r=   s   &&&&&&     r   r[   r[   t   s  € ð: �!„|Ü�Šð-ô Øõ	
ô ××ÐÜ×"×"Ð"Ü˜2œ{Ÿ~™~×=Ñ=×>Ò>Ø—‘“ˆBä× Ò  ×$Ò$ð �aŒ<Ø"‰NØ˜Œ\Ø!‰NäÐDÓEÐEä×!Ò! "ÔDˆà�aŒ<ä$ U§\¡\×%7Ñ%7Ö8‘�Ø•h�Ü& tÖ1ñ 9øð ˆà�!„|Üˆu×!Ñ!Ó"¤S¬¨U×-?Ñ-?Ó)@Ó%AÔAÜÐFÓGÐGàÒ"Üð &ó 'ð 'ð Ò Üð &ó 'ð 'ð !ð Ò¤5×#5Ò#5°k×#BÒ#BØ‰KØÒ%ØÔ!:Ô:Ü˜}¨[¨Mð :'Ü'@Ð&AðCó Dð Dð
Ü×Ò˜u¸Ø1BØ)2÷	Eøô ô Ü�dœC× Ò ðÜ—	’	˜$”ð 	øô —8‘8ô ØØðúàðús0   ÇG- Ç-!IÈH&È%IÈ&H>È;IÈ=H>È>Ic                óB   € \        WVVR7      P                  ! RRV/VB # )aN  
Read a pandas.DataFrame from Feather format. To read as pyarrow.Table use
feather.read_table.

Parameters
----------
source : str file path, or file-like object
    You can use MemoryMappedFile as source, for explicitly use memory map.
columns : sequence, optional
    Only read a specific set of columns. If not provided, all columns are
    read.
use_threads : bool, default True
    Whether to parallelize reading using multiple threads. If false the
    restriction is used in the conversion to Pandas as well as in the
    reading from Feather format.
memory_map : boolean, default False
    Use memory mapping when opening file on disk, when source is a str.
**kwargs
    Additional keyword arguments passed on to `pyarrow.Table.to_pandas`.

Returns
-------
df : pandas.DataFrame
    The contents of the Feather file as a pandas.DataFrame
©r   Ú
memory_mapr*   r*   © )r   r+   )Úsourcer   r*   rf   Úkwargss   &&&&,r   Úread_featherrj   Ó   s<   € ô6 !Ø¨JØô!ç!*¡ð+ñ Nà7BðNàFLñNð Or   c                ó  € \         P                  ! WVR7      pVP                  ^8  d   \        P                  ! R\
        ^R7       Vf   VP                  4       # \        V\        4      '       g.   \        RP                  \        V4      P                  4      4      hV Uu. uF  p\        V4      NK  	  pp\        \        R V4      4      '       d   VP                  V4      pMY\        \        R V4      4      '       d   VP!                  V4      pM+V Uu. uF  qˆP                  NK  	  p	p\        RV RV	 24      hVP                  ^8  d   V# \#        \%        V4      4      V8X  d   V# VP'                  V4      # u upi u upi )	z�
Internal implementation for reading a Feather file as a pyarrow.Table.
Emits a deprecation warning if the file is a legacy Feather V1 file.
)Úuse_memory_mapr*   z¥Feather V1 files are deprecated as of 25.0.0 and support will be removed in a future version. Consider rewriting this file in the Arrow IPC file format (Feather V2).r@   z&Columns must be a sequence but, got {}c                 ó   € V \         8H  # r   )Úint©Úts   &r   Ú<lambda>Ú&_read_table_internal.<locals>.<lambda>  s   € ˜œcšr   c                 ó   € V \         8H  # r   )r]   ro   s   &r   rq   rr     s   € ˜1¤š8r   z.Columns must be indices or names. Got columns z
 of types )r	   ÚFeatherReaderrH   rI   rJ   rK   ÚreadrN   r   Ú	TypeErrorÚformatr8   r.   ÚallÚmapÚread_indicesÚ
read_namesÚsortedrX   Úselect)
rh   r   rf   r*   ÚreaderÚcolumnÚcolumn_typesr!   rp   Úcolumn_type_namess
   &&&&      r   r   r   ó   sg  € ô ×#Ò#Ø°{ôD€Fð ‡~�~˜ÔÜ�Šð9ô Øõ	
ð ‚Ø�{‰{‹}Ðä�gœx×(Ò(ÜÐ@ß™¤ W£× 6Ñ 6Ó7ó9ð 	9ñ 07Ó7©w V”D˜–L©w€LÐ7Ü
Œ3Ñ! <Ó0×1Ò1Ø×#Ñ# GÓ,‰Ü	ŒSÑ# \Ó2×	3Ò	3Ø×!Ñ! 'Ó*‰á1=Ó>±¨AŸZœZ±ÐÐ>Üð 'Ø'. i¨zÐ:KÐ9LðNó Oð 	Oð ‡~�~˜ÔØˆä	”�G“Ó	 Ô	(Øˆð �|‰|˜GÓ$Ð$ùò% 8ùò ?s   Â"E>ÄFc                ó   € \        WVVR7      # )aO  
Read a pyarrow.Table from Feather format

Parameters
----------
source : str file path, or file-like object
    You can use MemoryMappedFile as source, for explicitly use memory map.
columns : sequence, optional
    Only read a specific set of columns. If not provided, all columns are
    read.
memory_map : boolean, default False
    Use memory mapping when opening file on disk, when source is a str
use_threads : bool, default True
    Whether to parallelize reading using multiple threads.

Returns
-------
table : pyarrow.Table
    The contents of the Feather file as a pyarrow.Table
re   )r   )rh   r   rf   r*   s   &&&&r   r"   r"   !  s   € ô*   Ø+5Ø,7ô9ð 9r   >   rD   ÚzstdÚuncompressed)NNNé   )NTF)NFT)Úcollections.abcr   r^   rI   Úpyarrow.pandas_compatr   Úpyarrow.libr   r   r   r   Úlibr9   Úpyarrowr	   Úpyarrow._featherr
   r   r>   rZ   r[   rj   r   r"   rg   r   r   Ú<module>rŒ      sW   ðõ& %Û 	Û å -÷0ó 0å Ý Ý )÷?%ñ ?%òD
ò  <Ð ô\ô~Oô@+%ö\9r   