
    h                    D    S SK Jr  S SKJr  S SKJr   " S S\\   5      rg)    )annotations)Generic)SeriesTc                  (    \ rS rSrSS jrSS jrSrg)SeriesCatNamespace   c                    Xl         g )N_narwhals_series)selfseriess     fC:\Users\julio\OneDrive\Documentos\Trabajo\Ideas Frescas\venv\Lib\site-packages\narwhals/series_cat.py__init__SeriesCatNamespace.__init__	   s     &    c                    U R                   R                  U R                   R                  R                  R	                  5       5      $ )a  Get unique categories from column.

Returns:
    A new Series containing the unique categories.

Examples:
    >>> import pandas as pd
    >>> import narwhals as nw
    >>> s_native = pd.Series(["apple", "mango", "mango"], dtype="category")
    >>> s = nw.from_native(s_native, series_only=True)
    >>> s.cat.get_categories().to_native()
    0    apple
    1    mango
    dtype: object
)r   _with_compliant_compliant_seriescatget_categories)r   s    r   r   !SeriesCatNamespace.get_categories   s;      $$44!!3377FFH
 	
r   r
   N)r   r   returnNone)r   r   )__name__
__module____qualname____firstlineno__r   r   __static_attributes__ r   r   r   r      s    '
r   r   N)
__future__r   typingr   narwhals.typingr   r   r   r   r   <module>r#      s    "  #
) 
r   