o
    Œõ±jx  ã                   @   s   d dl Z dZdgZdd„ ZdS )é    Nzgithub.com/casperdclÚtqdm_pandasc                 K   sŠ   ddl m} t| tƒst| ddƒ d¡r.|dt| dd¡d	tjj	ƒd
� | j
di |¤Ž dS |dt| jd	tjj	ƒd
� t| ƒj
| d� dS )zm
    Registers the given `tqdm` instance with
    `pandas.core.groupby.DataFrameGroupBy.progress_apply`.
    r   )ÚTqdmDeprecationWarningÚ__name__Ú Útqdm_zBPlease use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm, ...)`.ÚfileNÚwrite)Úfp_writezBPlease use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm(...))`.)Údeprecated_t© )Útqdmr   Ú
isinstanceÚtypeÚgetattrÚ
startswithÚgetÚsysÚstderrr   ÚpandasÚfp)ÚtclassÚtqdm_kwargsr   r   r   ú„/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/tqdm/_tqdm_pandas.pyr      s   ÿþþ)r   Ú
__author__Ú__all__r   r   r   r   r   Ú<module>   s    