Skip to content

Commit b134aa2

Browse files
Fabiana ClementeFabiana Clemente
Fabiana Clemente
authored and
Fabiana Clemente
committed
fix: add logger detailschore
1 parent 7b9f857 commit b134aa2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ydata_profiling/profile_report.py

+8
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
from ydata_profiling.utils.dataframe import hash_dataframe
4747
from ydata_profiling.utils.paths import get_config
4848

49+
from ydata_profiling.utils.logger import ProfilingLogger
50+
51+
logger = ProfilingLogger(name='ReportLogger')
52+
4953

5054
@typechecked
5155
class ProfileReport(SerializeReport, ExpectationsReport):
@@ -199,6 +203,10 @@ def __validate_inputs(
199203
def __initialize_dataframe(
200204
df: Optional[Union[pd.DataFrame, sDataFrame]], report_config: Settings
201205
) -> Optional[Union[pd.DataFrame, sDataFrame]]:
206+
207+
logger.info_def_report(dataframe=type(df),
208+
timeseries=report_config.vars.timeseries.active)
209+
202210
if (
203211
df is not None
204212
and isinstance(df, pd.DataFrame)

0 commit comments

Comments
 (0)