Ë
    ðmxiâ  ã                  ót   — d dl mZ d dlmZmZmZ d dlmZmZ erd dl	m
Z
  edd¬«      Z G d„ d	ee   «      Zy
)é    )Úannotations)ÚTYPE_CHECKINGÚGenericÚTypeVar)ÚExprKindÚExprNode)ÚExprÚExprTr	   )Úboundc                  ó   — e Zd Zdd„Zdd„Zy)ÚExprCatNamespacec                ó   — || _         y )N)Ú_expr)ÚselfÚexprs     úH/home/htdocs/ttos/venv/lib/python3.12/site-packages/narwhals/expr_cat.pyÚ__init__zExprCatNamespace.__init__   s	   € Øˆ�
ó    c                óh   — | j                   j                  t        t        j                  d«      «      S )uÖ  Get unique categories from column.

        Examples:
            >>> import polars as pl
            >>> import narwhals as nw
            >>> df_native = pl.DataFrame(
            ...     {"fruits": ["apple", "mango", "mango"]},
            ...     schema={"fruits": pl.Categorical},
            ... )
            >>> df = nw.from_native(df_native)
            >>> df.select(nw.col("fruits").cat.get_categories()).to_native()
            shape: (2, 1)
            â”Œâ”€â”€â”€â”€â”€â”€â”€â”€â”�
            â”‚ fruits â”‚
            â”‚ ---    â”‚
            â”‚ str    â”‚
            â•žâ•�â•�â•�â•�â•�â•�â•�â•�â•¡
            â”‚ apple  â”‚
            â”‚ mango  â”‚
            â””â”€â”€â”€â”€â”€â”€â”€â”€â”˜
        zcat.get_categories)r   Ú_append_noder   r   Ú
FILTRATION)r   s    r   Úget_categorieszExprCatNamespace.get_categories   s,   € ð, �z‰z×&Ñ&Ü”X×(Ñ(Ð*>Ó?ó
ð 	
r   N)r   r
   ÚreturnÚNone)r   r
   )Ú__name__Ú
__module__Ú__qualname__r   r   © r   r   r   r      s   „ óô
r   r   N)Ú
__future__r   Útypingr   r   r   Únarwhals._expression_parsingr   r   Únarwhals.exprr	   r
   r   r   r   r   ú<module>r#      s3   ðÝ "ç 2Ñ 2ç ;áÝ"á�˜vÔ&€ô
�w˜u‘~õ 
r   