(self)
| 310 | df.to_csv(self._target_dir.joinpath(file_path.name), index=False) |
| 311 | |
| 312 | def normalize(self): |
| 313 | logger.info("normalize data......") |
| 314 | |
| 315 | with ProcessPoolExecutor(max_workers=self._max_workers) as worker: |
| 316 | file_list = list(self._source_dir.glob("*.csv")) |
| 317 | with tqdm(total=len(file_list)) as p_bar: |
| 318 | for _ in worker.map(self._executor, file_list): |
| 319 | p_bar.update() |
| 320 | |
| 321 | |
| 322 | class BaseRun(abc.ABC): |
no test coverage detected