
    bi                    v    d dl mZ d dlmZ d dlZd dlmZ d dlm	Z	 erd dl
mZ d dlmZ  G d d	ee	d
         Zy)    )annotations)TYPE_CHECKINGN)ArrowSeriesNamespace)CatNamespace)ArrowSeries)
Incompletec                      e Zd ZddZy)ArrowSeriesCatNamespacec                    | j                   j                  }| j                  t        j                  d |D              j                               S )Nc              3  4   K   | ]  }|j                     y w)N)
dictionary).0xs     U/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/narwhals/_arrow/series_cat.py	<genexpr>z9ArrowSeriesCatNamespace.get_categories.<locals>.<genexpr>   s     0N!0Ns   )nativechunkswith_nativepaconcat_arraysunique)selfr   s     r   get_categoriesz&ArrowSeriesCatNamespace.get_categories   s<    ![[// 0 00Nv0N N U U WXX    N)returnr   )__name__
__module____qualname__r    r   r   r
   r
      s    Yr   r
   r   )
__future__r   typingr   pyarrowr   narwhals._arrow.utilsr   !narwhals._compliant.any_namespacer   narwhals._arrow.seriesr   narwhals._arrow.typingr   r
   r   r   r   <module>r'      s3    "    6 :21Y2L4O Yr   