§
    ­-PhÎ  ã                  óR   — d dl mZ d dlmZ d dlmZ  G d„ dee         ¦  «        ZdS )é    )Úannotations)ÚGeneric)ÚSeriesTc                  ó   — e Zd Zd
d„Zdd„Zd	S )ÚSeriesStructNamespaceÚseriesr   ÚreturnÚNonec                ó   — || _         d S )N)Ú_narwhals_series)Úselfr   s     úV/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/narwhals/series_struct.pyÚ__init__zSeriesStructNamespace.__init__	   s   € Ø &ˆÔÐÐó    ÚnameÚstrc                óz   — | j                              | j         j        j                             |¦  «        ¦  «        S )a  Retrieve a Struct field as a new expression.

        Arguments:
            name: Name of the struct field to retrieve.

        Returns:
            A new Series.

        Examples:
            >>> import polars as pl
            >>> import narwhals as nw
            >>> s_native = pl.Series(
            ...     [{"id": "0", "name": "john"}, {"id": "1", "name": "jane"}]
            ... )
            >>> s = nw.from_native(s_native, series_only=True)
            >>> s.struct.field("name").to_list()
            ['john', 'jane']
        )r   Ú_with_compliantÚ_compliant_seriesÚstructÚfield)r   r   s     r   r   zSeriesStructNamespace.field   s9   € ð& Ô$×4Ò4ØÔ!Ô3Ô:×@Ò@ÀÑFÔFñ
ô 
ð 	
r   N)r   r   r	   r
   )r   r   r	   r   )Ú__name__Ú
__module__Ú__qualname__r   r   © r   r   r   r      s<   € € € € € ð'ð 'ð 'ð 'ð
ð 
ð 
ð 
ð 
ð 
r   r   N)Ú
__future__r   Útypingr   Únarwhals.typingr   r   r   r   r   ú<module>r      st   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à #Ð #Ð #Ð #Ð #Ð #ð
ð 
ð 
ð 
ð 
˜G GÔ,ñ 
ô 
ð 
ð 
ð 
r   