__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
import sys
__author__ = "github.com/casperdcl"
__all__ = ['tqdm_pandas']
def tqdm_pandas(tclass, **tqdm_kwargs):
"""
Registers the given `tqdm` instance with
`pandas.core.groupby.DataFrameGroupBy.progress_apply`.
"""
from tqdm import TqdmDeprecationWarning
if isinstance(tclass, type) or (getattr(tclass, '__name__', '').startswith(
'tqdm_')): # delayed adapter case
TqdmDeprecationWarning(
"Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm, ...)`.",
fp_write=getattr(tqdm_kwargs.get('file', None), 'write', sys.stderr.write))
tclass.pandas(**tqdm_kwargs)
else:
TqdmDeprecationWarning(
"Please use `tqdm.pandas(...)` instead of `tqdm_pandas(tqdm(...))`.",
fp_write=getattr(tclass.fp, 'write', sys.stderr.write))
type(tclass).pandas(deprecated_t=tclass)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| contrib | Folder | 0755 |
|
|
| __init__.py | File | 1.54 KB | 0644 |
|
| __main__.py | File | 30 B | 0644 |
|
| _dist_ver.py | File | 23 B | 0644 |
|
| _main.py | File | 283 B | 0644 |
|
| _monitor.py | File | 3.61 KB | 0644 |
|
| _tqdm.py | File | 283 B | 0644 |
|
| _tqdm_gui.py | File | 287 B | 0644 |
|
| _tqdm_notebook.py | File | 307 B | 0644 |
|
| _tqdm_pandas.py | File | 888 B | 0644 |
|
| _utils.py | File | 553 B | 0644 |
|
| asyncio.py | File | 2.69 KB | 0644 |
|
| auto.py | File | 871 B | 0644 |
|
| autonotebook.py | File | 956 B | 0644 |
|
| cli.py | File | 10.75 KB | 0644 |
|
| dask.py | File | 1.29 KB | 0644 |
|
| gui.py | File | 5.35 KB | 0644 |
|
| keras.py | File | 4.27 KB | 0644 |
|
| notebook.py | File | 10.64 KB | 0644 |
|
| rich.py | File | 4.9 KB | 0644 |
|
| std.py | File | 56.11 KB | 0644 |
|
| tk.py | File | 6.54 KB | 0644 |
|
| utils.py | File | 11.54 KB | 0644 |
|
| version.py | File | 333 B | 0644 |
|