U
    a+dx                     @   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rV|dt|ddd	tjj	d
 | j
f | n*|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__ Ztqdm_zBPlease use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm, ...)`.fileNwrite)Zfp_writezBPlease use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm(...))`.)Zdeprecated_t)Ztqdmr   
isinstancetypegetattr
startswithgetsysstderrr   Zpandasfp)ZtclassZtqdm_kwargsr    r   5/tmp/pip-unpacked-wheel-tf4cttdx/tqdm/_tqdm_pandas.pyr      s    )r   
__author____all__r   r   r   r   r   <module>   s   