+
    ÒÜ³j$  ã                   ó6  a € R) t10 t ^ RIHtHtHtHt ^RIHt ^RIH	t	 ^RI
HtHtHtHtHtHtHtHtHt ^RIHt ]	P,                  ! ]4      t/ t] ^ k / t] ^k / t] ^k R*R R lltR*R	 R
 llt]! ]RR.R7       ]! ]RRR.R7       ]! ]RR.R7       ]! ]RR.R7       ]! ]R4       ]P<                  '       d   ^RIH t  ]! ] RR.R7       M]!! R4      t"]! ]"RR.R7       ]PF                  '       d   ^RI$H%t% ]! ]%RRR.R7       M]!! R4      t&]! ]&RRR.R7       ]PN                  '       d   ^RI(H)t) ]! ])RR .R7       M]!! R!4      t*]! ]*RR .R7       ]PV                  '       d   ^R"I,H-t- ]! ]-R#. R7       M]!! R$4      t.]! ].R#. R7       R% R& lt/R' R( lt0R# )+é    )ÚDictÚListÚOptionalÚType)Úconfig)Úlogging)	ÚArrowFormatterÚCustomFormatterÚ	FormatterÚPandasFormatterÚPythonFormatterÚTableFormatterÚTensorFormatterÚformat_tableÚquery_table)ÚNumpyFormatterNc                ó~   € V ^8„  d   QhR\         R\        \        ,          R\        \        \        ,          ,          /# )é   Úformatter_clsÚformat_typeÚaliases)Útyper   ÚstrÚlist)Úformats   "Ú]/home/luca/screen-checking/.venv/lib/python3.14/site-packages/datasets/formatting/__init__.pyÚ__annotate__r   (   s3   € ÷ 3ñ 3Üð3äœ#•ð3ô ”dœ3•iÕ ñ3ó    c           
     óh  € Ve   TM. pV\         9   d?   \        P                  RV R\         V,          P                   RV P                   R24       V \         V&   \	        W!.,           4       FA  pV\
        9   d+   \        P                  RV R\
        V,           RV R24       V\
        V&   KC  	  R# )zq
Register a Formatter object using a name and optional aliases.
This function must be used on a Formatter class.
NzOverwriting format type 'z' (z -> Ú)zOverwriting format type alias ')Ú_FORMAT_TYPESÚloggerÚwarningÚ__name__ÚsetÚ_FORMAT_TYPES_ALIASES)r   r   r   Úaliass   &&& r   Ú_register_formatterr(   (   s¸   € ð !Ò,‰g°"€GØ”mÔ#Ü�‰Ø'¨ }°C¼ÀkÕ8R×8[Ñ8[Ð7\Ð\`Ðan×awÑawÐ`xÐxyÐzô	
ð "/„M�+ÑÜ�W˜}Õ,Ö-ˆØÔ)Ô)Ü�N‰NØ1°%°¸Ô<QÐRWÕ<XÐ;YÐY]Ð^iÐ]jÐjkÐlôð (3Ô˜eÓ$ó .r   c                ó~   € V ^8„  d   QhR\         R\        \        ,          R\        \        \        ,          ,          /# )r   Úunavailable_errorr   r   )Ú	Exceptionr   r   r   )r   s   "r   r   r   ?   s9   € ÷ 	Eñ 	EÜ ð	EÜ/7¼­}ð	EÜGOÔPTÔUXÕPYÕGZñ	Er   c                óZ   € Ve   TM. p\        W!.,           4       F  pV \        V&   K  	  R# )z¼
Register an unavailable Formatter object using a name and optional aliases.
This function must be used on an Exception object that is raised when trying to get the unavailable formatter.
N)r%   Ú!_FORMAT_TYPES_ALIASES_UNAVAILABLE)r*   r   r   r'   s   &&& r   Ú_register_unavailable_formatterr.   ?   s/   € ð !Ò,‰g°"€GÜ�W˜}Õ,Ö-ˆØ3DÔ)¨%Ó0ó .r   Úpython)r   ÚarrowÚpaÚpyarrowÚnumpyÚnpÚpandasÚpdÚcustom)ÚPolarsFormatterÚpolarsÚplzDPolars needs to be installed to be able to return Polars dataframes.)ÚTorchFormatterÚtorchÚptÚpytorchzCPyTorch needs to be installed to be able to return PyTorch tensors.)ÚTFFormatterÚ
tensorflowÚtfzITensorflow needs to be installed to be able to return Tensorflow tensors.)ÚJaxFormatterÚjaxz:JAX needs to be installed to be able to return JAX arrays.c                ó\   € V ^8„  d   QhR\         \        ,          R\         \        ,          /# ©r   r   Úreturn)r   r   )r   s   "r   r   r   s   s"   € ÷ ñ ¬H´S­Mð ¼hÄs½mñ r   c                ó6   € V \         9   d   \         V ,          # V # )ztIf the given format type is a known alias, then return its main type name. Otherwise return the type with no change.)r&   )r   s   &r   Úget_format_type_from_aliasrH   s   s   € àÔ+Ô+Ü$ [Õ1Ð1àÐr   c                óF   € V ^8„  d   QhR\         \        ,          R\        /# rE   )r   r   r   )r   s   "r   r   r   {   s"   € ÷ pñ pœx¬�}ð pÄ)ñ pr   c                óÞ   € \        V 4      p V \        9   d   \        V ,          ! R/ VB # V \        9   d   \        V ,          h\        R\	        \        P                  4       4       RV  R24      h)a3  
Factory function to get a Formatter given its type name and keyword arguments.
A formatter is an object that extracts and formats data from pyarrow table.
It defines the formatting for rows, columns and batches.
If the formatter for a given type name doesn't exist or is not available, an error is raised.
zFormat type should be one of z, but got 'Ú'© )rH   r!   r-   Ú
ValueErrorr   Úkeys)r   Úformat_kwargss   &,r   Úget_formatterrP   {   sk   € ô -¨[Ó9€KØ”mÔ#Ü˜[Ö)Ñ:¨MÑ:Ð:ØÔ7Ô7Ü/°Õ<Ð<äÐ8¼¼m×>PÑ>PÓ>RÓ9SÐ8TÐT_Ð`kÐ_lÐlmÐnÓoÐor   c                óN  € V ^8„  d   Qh/ ^ \         9   d1   \        \        \        ,          \        \
        ,          3,          ;R&   ^\         9   d&   \        \        \        ,          \        3,          ;R&   ^\         9   d&   \        \        \        ,          \        3,          ;R&   # )r   r!   r&   r-   )Ú__conditional_annotations__Údictr   r   r   r   r+   )r   s   "r   r   r      sm   € × -Ñ -÷( 9Ò 8Œt”HœS•M¤4¬	¥?Ð2Õ3Ñ 8ñ) .÷* 5Ò 4”tœH¤S�M¬3Ð.Õ/Ñ 4ñ+ .÷, GÒ F¤4¬´­´yÐ(@Õ#AÑ Fò- .r   )N)2rR   Útypingr   r   r   r   Ú r   Úutilsr   Ú
formattingr	   r
   r   r   r   r   r   r   r   Únp_formatterr   Ú
get_loggerr$   r"   r!   r&   r-   r(   r.   ÚPOLARS_AVAILABLEÚpolars_formatterr8   rM   Ú_polars_errorÚTORCH_AVAILABLEÚtorch_formatterr;   Ú_torch_errorÚTF_AVAILABLEÚtf_formatterr?   Ú	_tf_errorÚJAX_AVAILABLEÚjax_formatterrB   Ú
_jax_errorrH   rP   r   )rR   s   @r   Ú<module>rf      sŽ  øð÷ .× -Ð -å Ý ÷
÷ 
õ 
õ )ð 
×	Ò	˜HÓ	%€à68€Ó 8Ø24Ð Ó 4ØDFÐ !Ó F÷3÷.	Eñ �O T°H°:Õ >Ù �N G°d¸IÐ5FÕ GÙ �N G°d°VÕ <Ù �O X¸°vÕ >Ù �O XÔ .à	××ÐÝ1á˜¨¸D¸6ÖBáÐeÓf€MÙ# M°8ÀdÀVÕLà	××ÐÝ/á˜¨¸$À	Ð9JÖKáÐcÓd€LÙ# L°'ÀDÈ)ÐCTÕUà	××ÐÝ)á˜ \¸D¸6ÖBáÐfÓg€IÙ# I¨|ÀdÀVÕLà	××ÐÝ+á˜ e°RÖ8áÐXÓY€JÙ# J°¸rÕBõ÷pr   