nannyml.distribution.continuous.result module

class nannyml.distribution.continuous.result.Result(results_data: DataFrame, column_names: List[str], timestamp_column_name: Optional[str], chunker: Chunker)[source]

Bases: PerColumnResult

Creates a new AbstractCalculatorResult instance.


results_data (pd.DataFrame) – The data returned by the Calculator.

check_is_compatible_with(drift_result: Result)[source]
keys() List[Key][source]
plot(drift_result: Optional[Result] = None, *args, **kwargs) Figure[source]

Creates a “joyplot over time” visualization to illustrate continuous distribution changes over time.


drift_result (Optional[nannyml.drift.univariate.Result]) – The result of a univariate drift calculation. When set it will be used to lookup alerts that occurred for each column / drift method combination in the drift calculation result. For each of these combinations a distribution plot of the column will be rendered showing the alerts for each drift method. When the drift_result parameter is not set no alerts will be rendered on the distribution plots.