tqdm.pandas code example
Example 1: tqdm in python
from tqdm import tqdm
for i in tqdm(range(10000)):
pass
Example 2: tqdm.pandas
from tqdm import tqdm
import pandas as pd
def fnc():
pass
tqdm.pandas(
bar_format="{l_bar}{bar}| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, {rate_fmt}, iter={n}]")
df.progress_apply(fnc)