tempor.methods.preprocessing.imputation.hyperimpute_utils module¶
Utilities for hyperimpute.
- tempor.methods.preprocessing.imputation.hyperimpute_utils.monkeypatch_hyperimpute_logger() Generator[source]¶
In
hyperimpute, at least as of version0.1.17, the following call inhyperimpute.loggercauses a conflict withlogurulogger as used in TemporAI. To circumvent this problem, this context manager monkeypatcheslogurulogger.removecall with a no-op. To be used aroundhyperimputeimports.` from loguru import logger ... logger.remove() `