translate_nmtran_time#

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

Translate NM-TRAN TIME and DATE column into one TIME column

If dataset of model have special NM-TRAN TIME and DATE columns these will be translated into one single time column with time in hours.

Warning

Use this function with caution. For example reset events are currently not taken into account.

Parameters:

model (Model) – Pharmpy model object

Returns:

Model – Pharmpy model object