Код: Выделить всё
def __process_each_iteration(self, imputer) -> tuple[int, float, float]:
progress_bar= tqdm(
range(self.base_imputed_df.shape[1]),
desc="Processing...: ",
bar_format=(
"{l_bar}{bar}| Iteration {n_fmt}/{total_fmt} "
"[{elapsed}
Подробнее здесь: [url]https://stackoverflow.com/questions/79292094/print-randomly-progress-bar-in-tqdm[/url]
Мобильная версия