§
    ­-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 )
ÚSeriesListNamespaceÚseriesr   ÚreturnÚNonec                ó   — || _         d S )N)Ú_narwhals_series)Úselfr   s     úT/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/narwhals/series_list.pyÚ__init__zSeriesListNamespace.__init__	   s   € Ø &ˆÔÐÐó    c                óx   — | j                              | j         j        j                             ¦   «         ¦  «        S )ay  Return the number of elements in each list.

        Null values count towards the total.

        Returns:
            A new series.

        Examples:
            >>> import pyarrow as pa
            >>> import narwhals as nw
            >>> s_native = pa.chunked_array([[[1, 2], [3, 4, None], None, []]])
            >>> s = nw.from_native(s_native, series_only=True)
            >>> s.list.len().to_native()  # doctest: +ELLIPSIS
            <pyarrow.lib.ChunkedArray object at ...>
            [
              [
                2,
                3,
                null,
                0
              ]
            ]
        )r   Ú_with_compliantÚ_compliant_seriesÚlistÚlen)r   s    r   r   zSeriesListNamespace.len   s7   € ð0 Ô$×4Ò4ØÔ!Ô3Ô8×<Ò<Ñ>Ô>ñ
ô 
ð 	
r   N)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   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à #Ð #Ð #Ð #Ð #Ð #ð
ð 
ð 
ð 
ð 
˜' 'Ô*ñ 
ô 
ð 
ð 
ð 
r   