ó
    wñ:i†  ã                  óÐ   • S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  S SK
Jr  S SKJr  \(       a  S SKJr  S S	KJr  S S
KJr  S SKJr  SS\R,                  4         SS jjrg)é    )Úannotations)ÚTYPE_CHECKING)Úlib)Úimport_optional_dependency)Úcheck_dtype_backend)Úis_list_like)Ústringify_path)ÚSequence)ÚPath)ÚDtypeBackend)Ú	DataFrameNTc                ó   • [        S5      n[        U5        Ub&  [        U5      (       d  [        S5      e[	        U5      nUR                  [        U 5      XS9u  pVUR                  Ul        U[        R                  La  UR                  US9nU$ )a1  
Load an SPSS file from the file path, returning a DataFrame.

Parameters
----------
path : str or Path
    File path.
usecols : list-like, optional
    Return a subset of the columns. If None, return all columns.
convert_categoricals : bool, default is True
    Convert categorical columns into pd.Categorical.
dtype_backend : {'numpy_nullable', 'pyarrow'}, default 'numpy_nullable'
    Back-end data type applied to the resultant :class:`DataFrame`
    (still experimental). Behaviour is as follows:

    * ``"numpy_nullable"``: returns nullable-dtype-backed :class:`DataFrame`
      (default).
    * ``"pyarrow"``: returns pyarrow-backed nullable :class:`ArrowDtype`
      DataFrame.

    .. versionadded:: 2.0

Returns
-------
DataFrame

Examples
--------
>>> df = pd.read_spss("spss_data.sav")  # doctest: +SKIP
Ú
pyreadstatzusecols must be list-like.)ÚusecolsÚapply_value_formats)Údtype_backend)r   r   r   Ú	TypeErrorÚlistÚread_savr	   Ú__dict__Úattrsr   Ú
no_defaultÚconvert_dtypes)Úpathr   Úconvert_categoricalsr   r   ÚdfÚmetadatas          ÚQ/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/pandas/io/spss.pyÚ	read_spssr      s‘   € ôH ,¨LÓ9€JÜ˜Ô&àÑÜ˜G×$Ñ$ÜÐ8Ó9Ð9Ü�w“-ˆà×&Ñ&Ü�tÓ gð 'ð �L€Bð × Ñ €B„HØœCŸN™NÒ*Ø×Ñ¨]ÐÐ;ˆØ€Ió    )
r   z
str | Pathr   zSequence[str] | Noner   Úboolr   zDtypeBackend | lib.NoDefaultÚreturnr   )Ú
__future__r   Útypingr   Úpandas._libsr   Úpandas.compat._optionalr   Úpandas.util._validatorsr   Úpandas.core.dtypes.inferencer   Úpandas.io.commonr	   Úcollections.abcr
   Úpathlibr   Úpandas._typingr   Úpandasr   r   r   © r    r   Ú<module>r/      sk   ðÝ "å  å Ý >Ý 7å 5å +æÝ(Ýå+å ð
 %)Ø!%Ø25·.±.ð	2Ø
ð2à!ð2ð ð2ð 0ð	2ð
 ö2r    