tenumerate (#840 <- #480, #402) tzip <= zip tmap <= map add concurrent module thread_map <= concurrent.futures.ThreadPoolExecutor.map process_map <= concurrent.futures.ProcessPoolExecutor.map add itertools module (#225) stub product 🔍 add & update tests📘...
) or tqdm(enumerate(x), total=len(x), ...). The same applies to numpy.ndenumerate. Replace tqdm(zip(a, b)) with zip(tqdm(a), b) or even zip(tqdm(a), tqdm(b)). The same applies to itertools. Some useful convenience functions can be found under tqdm.contrib. No intermediate ...
) or tqdm(enumerate(x), total=len(x), ...). The same applies to numpy.ndenumerate. Replace tqdm(zip(a, b)) with zip(tqdm(a), b) or even zip(tqdm(a), tqdm(b)). The same applies to itertools. Some useful convenience functions can be found under tqdm.contrib. Hanging pipes in...
) or tqdm(enumerate(x), total=len(x), ...). The same applies to numpy.ndenumerate. Replace tqdm(zip(a, b)) with zip(tqdm(a), b) or even zip(tqdm(a), tqdm(b)). The same applies to itertools. Some useful convenience functions can be found under tqdm.contrib. No intermediate ...
Replacetqdm(enumerate(...))withenumerate(tqdm(...))ortqdm(enumerate(x), total=len(x), ...). The same applies tonumpy.ndenumerate. Replacetqdm(zip(a, b))withzip(tqdm(a), b)or evenzip(tqdm(a), tqdm(b)). The same applies toitertools. ...
Replacetqdm(enumerate(...))withenumerate(tqdm(...))ortqdm(enumerate(x), total=len(x), ...). The same applies tonumpy.ndenumerate. Replacetqdm(zip(a, b))withzip(tqdm(a), b)or evenzip(tqdm(a), tqdm(b)). The same applies toitertools. ...
tenumerate(iterable, start=0, total=None, tqdm_class=tqdm.auto.tqdm, **tqdm_kwargs): """Equivalent of `numpy.ndenumerate` or builtin `enumerate`.""" def tqdm.contrib.tzip(iter1, *iter2plus, **tqdm_kwargs): """Equivalent of builtin `zip`.""" def tqdm.contrib.tmap(function, *...
) or tqdm(enumerate(x), total=len(x), ...). The same applies to numpy.ndenumerate. Replace tqdm(zip(a, b)) with zip(tqdm(a), b) or even zip(tqdm(a), tqdm(b)). The same applies to itertools. Some useful convenience functions can be found under tqdm.contrib. Hanging pipes in...
Wrapping enumerated iterables: use enumerate(tqdm(...)) instead of tqdm(enumerate(...)). The same applies to numpy.ndenumerate. This is because enumerate functions tend to hide the length of iterables. tqdm does not. Wrapping zipped iterables has similar issues due to internal optimisations....
contrib.tenumerate(iterable, start=0, total=None, tqdm_class=tqdm.auto.tqdm, **tqdm_kwargs): """Equivalent of `numpy.ndenumerate` or builtin `enumerate`.""" def tqdm.contrib.tzip(iter1, *iter2plus, **tqdm_kwargs): """Equivalent of builtin `zip`.""" def tqdm.contrib.tmap(...