diff --git a/popmon/pipeline/metrics.py b/popmon/pipeline/metrics.py index 6a2600d9..d0a7f654 100644 --- a/popmon/pipeline/metrics.py +++ b/popmon/pipeline/metrics.py @@ -90,7 +90,7 @@ def stability_metrics( def df_stability_metrics( df, time_axis, - settings: Settings, + settings: Settings = None, features=None, binning="auto", bin_specs=None, @@ -151,6 +151,9 @@ def df_stability_metrics( :param kwargs: residual keyword arguments, passed on to stability_report() :return: dict with results of metrics pipeline """ + if settings is None: + settings = Settings() + # basic checks on presence of time_axis if not (isinstance(time_axis, str) and len(time_axis) > 0) and not ( isinstance(time_axis, bool) and time_axis