Ë
    z�h­  ã                  ó€   — d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ erd dlmZ  edd¬	«      Z	 G d
„ dee	   «      Z
y)é    )Úannotations)ÚTYPE_CHECKING)ÚAny)ÚGeneric)ÚTypeVar)ÚSeriesÚSeriesTzSeries[Any])Úboundc                  ó   — e Zd Zdd„Zdd„Zy)ÚSeriesListNamespacec                ó   — || _         y )N)Ú_narwhals_series)ÚselfÚseriess     úR/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/narwhals/series_list.pyÚ__init__zSeriesListNamespace.__init__   s
   € Ø &ˆÕó    c                ó�   — | j                   j                  | 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   s;   € ð0 ×$Ñ$×4Ñ4Ø×!Ñ!×3Ñ3×8Ñ8×<Ñ<Ó>ó
ð 	
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   r   Únarwhals.seriesr   r	   r   r   r   r   ú<module>r"      s9   ðÝ "å  Ý Ý Ý áÝ&ñ �) =Ô
1€ô
˜' 'Ñ*õ 
r   