§
    ß©ºj¥  ã                  ó6   — d Z ddlmZ ddlmZ erddlZdd„ZdS )uP  Paradigm-agnostic Arrow PyCapsule â†’ polars DataFrame bridge.

Lives in its own module so the per-paradigm result-type modules
(:mod:`vernier.instance`, :mod:`vernier.panoptic`,
:mod:`vernier.semantic`) can import the helper without dragging in
each other's types. The module itself is private (leading-underscore
name); ``arrow_to_dataframe`` is the supported intra-package entry
point. Importing this module does **not** import polars; polars is
imported lazily on the first call to :func:`arrow_to_dataframe`
(which is what each paradigm's ``EvalResult.per_*`` cached property
triggers).
é    )Úannotations)ÚTYPE_CHECKINGNÚbatchúobject | NoneÚnameÚstrÚreturnúpl.DataFramec                óö   — | €t          |›d|›d�¦  «        ‚	 ddl}n"# t          $ r}t          d¦  «        |‚d}~ww xY w |j        | ¦  «        }t	          ||j        ¦  «        r|                     ¦   «         }|S )zëLazy polars import + Arrow zero-copy conversion. Raises a
    structured ``ImportError`` when polars is absent (steering the user
    to the install command), and a structured ``RuntimeError`` when the
    requested table wasn't built.Nu[    was not in the tables= request â€” pass it explicitly via Evaluator.evaluate(..., tables=(z,)) or tables='all'r   zYresult tables expose polars.DataFrame; install polars via `pip install 'vernier[tables]'`)ÚRuntimeErrorÚpolarsÚImportErrorÚ
from_arrowÚ
isinstanceÚSeriesÚto_frame)r   r   ÚplÚeÚdfs        ú_/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/vernier/_tables.pyÚarrow_to_dataframer      sÇ   € ð
 €}ÝØð Kð KØ/3ðKð Kð Kñ
ô 
ð 	
ðØÐÐÐÐøÝð ð ð Ýð.ñ
ô 
ð ð	øøøøðøøøð 
ˆŒ�uÑ	Ô	€BÝ�"�b”iÑ Ô ð Ø�[Š[‰]Œ]ˆØ€Is   ™ ž
=¨8¸=)r   r   r   r   r	   r
   )Ú__doc__Ú
__future__r   Útypingr   r   r   r   © ó    r   ú<module>r      sg   ððð ð #Ð "Ð "Ð "Ð "Ð "à  Ð  Ð  Ð  Ð  Ð  àð ØÐÐÐðð ð ð ð ð r   