ó
    Ñ]j"  ã                   ó4   • S r SSKrS rS rS rS rS rS rg)	z=Functions to determine if an object is a dataframe or series.é    Nc                 ó`   • [        U 5      =(       d    [        U 5      =(       d    [        U 5      $ )zæReturn True if the X is a dataframe or series.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a dataframe or series, False otherwise.
)Úis_pandas_df_or_seriesÚis_polars_df_or_seriesÚis_pyarrow_data)ÚXs    ÚU/home/mande/repo/quber/.venv/lib/python3.13/site-packages/sklearn/utils/_dataframe.pyÚis_df_or_seriesr	   	   s%   € ô " !Ó$×WÔ(>¸qÓ(A×WÄ_ÐUVÓEWÐWó    c                 óŒ   •  [         R                  S   n[        XR                  UR
                  45      $ ! [         a     gf = f)zôReturn True if the X is a pandas dataframe or series.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a pandas dataframe or series, False otherwise.
ÚpandasF©ÚsysÚmodulesÚKeyErrorÚ
isinstanceÚ	DataFrameÚSeries©r   Úpds     r   r   r      óC   € ðÜ�[‰[˜Ñ"ˆô �aŸ,™,¨¯	©	Ð2Ó3Ð3øô ó Ùðúó   ‚6 ¶
AÁAc                 ót   •  [         R                  S   n[        XR                  5      $ ! [         a     gf = f)zàReturn True if the X is a pandas dataframe.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a pandas dataframe, False otherwise.
r   F©r   r   r   r   r   r   s     r   Úis_pandas_dfr   -   ó:   € ðÜ�[‰[˜Ñ"ˆô �aŸ™Ó&Ð&øô ó Ùðúó   ‚* ª
7¶7c                 ó¸   •  [         R                  S   n[        XR                  UR
                  UR                  UR                  45      $ ! [         a     gf = f)a&  Return True if the X is a pyarrow Table, RecordBatch, Array or ChunkedArray.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a pyarrow Table, RecordBatch, Array or ChunkedArray,
    False otherwise.
ÚpyarrowF)r   r   r   r   ÚTableÚRecordBatchÚArrayÚChunkedArray)r   Úpas     r   r   r   A   sO   € ðÜ�[‰[˜Ñ#ˆô �aŸ(™( B§N¡N°B·H±H¸b¿o¹oÐNÓOÐOøô ó Ùðús   ‚A Á
AÁAc                 óŒ   •  [         R                  S   n[        XR                  UR
                  45      $ ! [         a     gf = f)zôReturn True if the X is a polars dataframe or series.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a polars dataframe or series, False otherwise.
ÚpolarsFr   ©r   Úpls     r   r   r   V   r   r   c                 ót   •  [         R                  S   n[        XR                  5      $ ! [         a     gf = f)zßReturn True if the X is a polars dataframe.

Parameters
----------
X : {array-like, dataframe}
    The array-like or dataframe object to check.

Returns
-------
bool
    True if the X is a polarsdataframe, False otherwise.
r%   Fr   r&   s     r   Úis_polars_dfr)   j   r   r   )Ú__doc__r   r	   r   r   r   r   r)   © r
   r   Ú<module>r,      s-   ðÙ Có
 òXò 4ò('ò(Pò*4ó('r
   