o
    篪g                     @  s  U 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 d dlmZ ersd dlZej	dkr7d d	lm
Z
 n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 d dlmZ G dd deZG dd deZG dd deZededf Zded< 	 ed Zded< 	 ed Zded< 	 ed Zded< 	 ed Zded < 	 ed!dd"Z	 ed#dd"Z	 ed$dd"Z	 ed%d&d"Z	 ed'd d"Z 	 G d(d) d)Z!g d*Z"dS )+    )annotations)TYPE_CHECKING)Any)Protocol)TypeVar)UnionN)   
   )	TypeAlias)	DataFrame)Expr)	LazyFrame)Series)dtypesc                   @  s$   e Zd Zed
ddZdddZd	S )NativeFramereturnr   c                 C     d S N selfr   r   U/var/www/html/chatdoc2/venv/lib/python3.10/site-packages/narwhals/stable/v1/typing.pycolumns   s   zNativeFrame.columnsargskwargsc                 O  r   r   r   r   r   r   r   r   r   join       zNativeFrame.joinN)r   r   r   r   r   r   r   r   )__name__
__module____qualname__propertyr   r   r   r   r   r   r      s    r   c                   @  s   e Zd ZdddZdS )NativeSeriesr   intc                 C  r   r   r   r   r   r   r   __len__!   r   zNativeSeries.__len__N)r   r$   )r   r    r!   r%   r   r   r   r   r#           r#   c                   @  s   e Zd ZdddZdS )	DataFrameLiker   r   r   r   c                 O  r   r   r   r   r   r   r   __dataframe__$   r   zDataFrameLike.__dataframe__Nr   )r   r    r!   r(   r   r   r   r   r'   #   r&   r'   r   r   r
   IntoExpr)r   DataFrame[Any]r'   IntoDataFrame)r   r*   LazyFrame[Any]r'   	IntoFrame)r*   r,   Frame)r   r#   
IntoSeries
IntoFrameT)boundIntoDataFrameTFrameT
DataFrameTr*   IntoSeriesTc                   @  s   e Zd ZU ded< ded< ded< ded< d	ed
< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded< ded < d!ed"< d#ed$< d%ed&< d'ed(< d)ed*< d+ed,< d-ed.< d/S )0DTypesztype[dtypes.Int64]Int64ztype[dtypes.Int32]Int32ztype[dtypes.Int16]Int16ztype[dtypes.Int8]Int8ztype[dtypes.UInt64]UInt64ztype[dtypes.UInt32]UInt32ztype[dtypes.UInt16]UInt16ztype[dtypes.UInt8]UInt8ztype[dtypes.Float64]Float64ztype[dtypes.Float32]Float32ztype[dtypes.String]Stringztype[dtypes.Boolean]Booleanztype[dtypes.Object]Objectztype[dtypes.Categorical]Categoricalztype[dtypes.Enum]Enumztype[dtypes.Datetime]Datetimeztype[dtypes.Duration]Durationztype[dtypes.Date]Dateztype[dtypes.Field]Fieldztype[dtypes.Struct]Structztype[dtypes.List]Listztype[dtypes.Array]Arrayztype[dtypes.Unknown]UnknownN)r   r    r!   __annotations__r   r   r   r   r6      s0   
 r6   )
r4   r.   r3   r+   r2   r)   r-   r0   r/   r5   )#
__future__r   typingr   r   r   r   r   sysversion_infor
   typing_extensionsnarwhals.stable.v1r   r   r   r   r   r   r#   r'   strr)   rN   r+   r-   r.   r/   r0   r2   r3   r4   r5   r6   __all__r   r   r   r   <module>   sV    
	