get_and_check_dataset#

pharmpy.model.get_and_check_dataset(model)[source]#

Get the ode_system from model and raise if not a CompartmentalSystem

Parameters:

model (Model) – Pharmpy model object

Returns:

pd.DataFrame – The dataset if it exists