+
    ÏÜ³j{  ã                  óx   € ^ RI Ht ^ RIHt ^ RIt^ RIHt ]'       d   ^ RIHt ]! R4       ! R R4      4       t	R# )	é    )Úannotations)ÚTYPE_CHECKINGN)Ú
set_module)ÚNDFrameÚpandasc                  ó¨   € ] tR t^t$ RtR0tR]R&   R R lt]R R l4       t	]	P                  R	 R
 l4       t	R R ltR R ltR R ltR R ltRtR# )ÚFlagsuù  
Flags that apply to pandas objects.

â€œFlagsâ€� differ from â€œmetadataâ€�. Flags reflect properties of the pandas
object (the Series or DataFrame). Metadata refer to properties of the
dataset, and should be stored in DataFrame.attrs.

Parameters
----------
obj : Series or DataFrame
    The object these flags are associated with.
allows_duplicate_labels : bool, default True
    Whether to allow duplicate labels in this object. By default,
    duplicate labels are permitted. Setting this to ``False`` will
    cause an :class:`errors.DuplicateLabelError` to be raised when
    `index` (or columns for DataFrame) is not unique, or any
    subsequent operation on introduces duplicates.
    See :ref:`duplicates.disallow` for more.

    .. warning::

       This is an experimental feature. Currently, many methods fail to
       propagate the ``allows_duplicate_labels`` value. In future versions
       it is expected that every method taking or returning one or more
       DataFrame or Series objects will propagate ``allows_duplicate_labels``.

See Also
--------
DataFrame.attrs : Dictionary of global attributes of this dataset.
Series.attrs : Dictionary of global attributes of this dataset.

Examples
--------
Attributes can be set in two ways:

>>> df = pd.DataFrame()
>>> df.flags
<Flags(allows_duplicate_labels=True)>
>>> df.flags.allows_duplicate_labels = False
>>> df.flags
<Flags(allows_duplicate_labels=False)>

>>> df.flags["allows_duplicate_labels"] = True
>>> df.flags
<Flags(allows_duplicate_labels=True)>
Úallows_duplicate_labelszset[str]Ú_keysc               ó$   € V ^8„  d   QhRRRRRR/# )é   Úobjr   r
   ÚboolÚreturnÚNone© )Úformats   "ÚR/home/luca/screen-checking/.venv/lib/python3.14/site-packages/pandas/core/flags.pyÚ__annotate__ÚFlags.__annotate__?   s!   € ÷ %ñ %˜Gð %Àð %È$ñ %ó    c               	óH   € W n         \        P                  ! V4      V n        R # ©N)Ú_allows_duplicate_labelsÚweakrefÚrefÚ_obj)Úselfr   r
   s   &&$r   Ú__init__ÚFlags.__init__?   s   € Ø(?Ô%Ü—K’K Ó$ˆŽ	r   c               ó   € V ^8„  d   QhRR/# )r   r   r   r   )r   s   "r   r   r   D   s   € ÷ -ñ -¨ñ -r   c                ó   € V P                   # )aØ  
Whether this object allows duplicate labels.

Setting ``allows_duplicate_labels=False`` ensures that the
index (and columns of a DataFrame) are unique. Most methods
that accept and return a Series or DataFrame will propagate
the value of ``allows_duplicate_labels``.

See :ref:`duplicates` for more.

See Also
--------
DataFrame.attrs : Set global metadata on this object.
DataFrame.set_flags : Set global flags on this object.

Examples
--------
>>> df = pd.DataFrame({"A": [1, 2]}, index=["a", "a"])
>>> df.flags.allows_duplicate_labels
True
>>> df.flags.allows_duplicate_labels = False
Traceback (most recent call last):
    ...
pandas.errors.DuplicateLabelError: Index has duplicates.
      positions
label
a        [0, 1]
)r   ©r   s   &r   r
   ÚFlags.allows_duplicate_labelsC   s   € ð< ×,Ñ,Ð,r   c               ó    € V ^8„  d   QhRRRR/# )r   Úvaluer   r   r   r   )r   s   "r   r   r   d   s   € ÷ 
.ñ 
.¨Tð 
.°dñ 
.r   c                	ó¼   € \        V4      pV P                  4       pVf   \        R4      hV'       g$   VP                   F  pVP	                  4        K  	  Wn        R # )Nz$This flag's object has been deleted.)r   r   Ú
ValueErrorÚaxesÚ_maybe_check_uniquer   )r   r&   r   Úaxs   &&  r   r
   r$   c   sL   € ä�U“ˆØ�i‰i‹kˆØŠ;ÜÐCÓDÐDçØ—h”h�Ø×&Ñ&Ö(ñ ð ).Ö%r   c               ó   € V ^8„  d   QhRR/# )r   ÚkeyÚstrr   )r   s   "r   r   r   p   s   € ÷ "ñ "˜sñ "r   c                	óN   € WP                   9  d   \        V4      h\        W4      # r   )r   ÚKeyErrorÚgetattr)r   r-   s   &&r   Ú__getitem__ÚFlags.__getitem__p   s!   € Ø—j‘jÔ Ü˜3“-Ðä�tÓ!Ð!r   c               ó    € V ^8„  d   QhRRRR/# )r   r-   r.   r   r   r   )r   s   "r   r   r   v   s   € ÷ "ñ "˜sð "¨dñ "r   c                	ót   € WP                   9  d   \        R V RV P                    24      h\        WV4       R# )zUnknown flag z. Must be one of N)r   r(   Úsetattr)r   r-   r&   s   &&&r   Ú__setitem__ÚFlags.__setitem__v   s3   € Ø—j‘jÔ Ü˜}¨S¨EÐ1BÀ4Ç:Á:À,ÐOÓPÐPÜ�˜5Ö!r   c               ó   € V ^8„  d   QhRR/# )r   r   r.   r   )r   s   "r   r   r   {   s   € ÷ Rñ R˜#ñ Rr   c                	ó"   € R V P                    R2# )z<Flags(allows_duplicate_labels=z)>)r
   r#   s   &r   Ú__repr__ÚFlags.__repr__{   s   € Ø0°×1MÑ1MÐ0NÈbÐQÐQr   c               ó    € V ^8„  d   QhRRRR/# )r   ÚotherÚobjectr   r   r   )r   s   "r   r   r   ~   s   € ÷ ñ ˜Fð  tñ r   c                	ón   € \        V\        V 4      4      '       d   V P                  VP                  8H  # R # )F)Ú
isinstanceÚtyper
   )r   r>   s   &&r   Ú__eq__ÚFlags.__eq__~   s-   € Ü�eœT $›Z×(Ò(Ø×/Ñ/°5×3PÑ3PÑPÐPÙr   )r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   Ú__annotations__r   Úpropertyr
   Úsetterr2   r7   r;   rC   Ú__static_attributes__r   r   r   r	   r	      sd   ‡ ñ-ð^ 1Ð1€Eˆ8Ó1õ%ð ô-ó ð-ð> ×#Ñ#ô
.ó $ð
.õ"õ"õ
R÷ñ r   r	   )
Ú
__future__r   Útypingr   r   Úpandas.util._decoratorsr   Úpandas.core.genericr   r	   r   r   r   Ú<module>rR      s8   ðÝ "å  Û å .çÝ+ñ ˆHÓ÷tð tó òtr   