get_evid#

pharmpy.modeling.get_evid(model)[source]#

Get the evid from model dataset

If an event column is present this will be extracted otherwise an evid column will be created.

Parameters:

model (Model) – Pharmpy model

Returns:

pd.Series – EVID