summarize_errors#
- pharmpy.modeling.summarize_errors(models)[source]#
Summarize errors and warnings from one or multiple model runs.
Summarize the errors and warnings found after running the model/models.
- Parameters:
models (list, Model) – List of models or single model
- Returns:
pd.DataFrame – A DataFrame of errors with model name, category (error or warning), and an int as index, an empty DataFrame if there were no errors or warnings found.
Examples
>>> from pharmpy.modeling import load_example_model, summarize_modelfit_results >>> model = load_example_model("pheno") >>> summarize_errors(model)