check_dataset#
- pharmpy.modeling.check_dataset(model, dataframe=False, verbose=False)[source]#
Check dataset for consistency across a set of rules
- Parameters:
model (Model) – Pharmpy model object
dataframe (bool) – True to return a DataFrame instead of printing to the console
verbose (bool) – Print out all rules checked if True else print only failed rules
- Returns:
pd.DataFrame – Only returns a DataFrame is dataframe=True