From 6ca71406c6e6b0f245de63d57009994e3a9d83f7 Mon Sep 17 00:00:00 2001 From: alexbarros Date: Tue, 20 Dec 2022 15:54:35 -0300 Subject: [PATCH] fix: set compute default to false --- src/pandas_profiling/compare_reports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pandas_profiling/compare_reports.py b/src/pandas_profiling/compare_reports.py index 8a99c9be9..f13152e94 100644 --- a/src/pandas_profiling/compare_reports.py +++ b/src/pandas_profiling/compare_reports.py @@ -223,7 +223,7 @@ def _apply_config(description: dict, config: Settings) -> dict: def compare( reports: List[ProfileReport], config: Optional[Settings] = None, - compute: bool = True, + compute: bool = False, ) -> ProfileReport: """ Compare Profile reports @@ -233,6 +233,7 @@ def compare( input may either be a ProfileReport, or the summary obtained from report.get_description() config: the settings object for the merged ProfileReport compute: recompute the profile report using config or the left report config + recommended in cases where the reports were created using different settings """ validate_reports(reports)