o
    hV                     @  s\   d dl mZ d dlmZ d dlZd dlmZ er$d dlm	Z	 d dl
mZ G dd deZdS )	    )annotations)TYPE_CHECKINGN)ArrowSeriesNamespace)ArrowSeries)
Incompletec                   @  s   e Zd ZdddZdS )ArrowSeriesCatNamespacereturnr   c                 C  s&   | j j}| tdd |D  S )Nc                 s  s    | ]}|j V  qd S )N)
dictionary).0x r   N/var/www/vscode/kcb/lib/python3.10/site-packages/narwhals/_arrow/series_cat.py	<genexpr>   s    z9ArrowSeriesCatNamespace.get_categories.<locals>.<genexpr>)nativechunkswith_nativepaconcat_arraysunique)selfr   r   r   r   get_categories   s   z&ArrowSeriesCatNamespace.get_categoriesN)r   r   )__name__
__module____qualname__r   r   r   r   r   r      s    r   )
__future__r   typingr   pyarrowr   narwhals._arrow.utilsr   narwhals._arrow.seriesr   narwhals._arrow.typingr   r   r   r   r   r   <module>   s    