Skip to content

Commit

Permalink
fix: add logger detailschore
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabiana Clemente authored and Fabiana Clemente committed May 6, 2024
1 parent 7b9f857 commit b134aa2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ydata_profiling/profile_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit b134aa2

Please sign in to comment.