From b134aa23b2d4d47fea14da88ff1622e9dcdbd8bc Mon Sep 17 00:00:00 2001 From: Fabiana Clemente Date: Mon, 6 May 2024 16:17:09 -0700 Subject: [PATCH] fix: add logger detailschore --- src/ydata_profiling/profile_report.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ydata_profiling/profile_report.py b/src/ydata_profiling/profile_report.py index 4825a4567..2d5cc9bfd 100644 --- a/src/ydata_profiling/profile_report.py +++ b/src/ydata_profiling/profile_report.py @@ -46,6 +46,10 @@ from ydata_profiling.utils.dataframe import hash_dataframe from ydata_profiling.utils.paths import get_config +from ydata_profiling.utils.logger import ProfilingLogger + +logger = ProfilingLogger(name='ReportLogger') + @typechecked class ProfileReport(SerializeReport, ExpectationsReport): @@ -199,6 +203,10 @@ def __validate_inputs( def __initialize_dataframe( df: Optional[Union[pd.DataFrame, sDataFrame]], report_config: Settings ) -> Optional[Union[pd.DataFrame, sDataFrame]]: + + logger.info_def_report(dataframe=type(df), + timeseries=report_config.vars.timeseries.active) + if ( df is not None and isinstance(df, pd.DataFrame)