undrop_columns#
- pharmpy.modeling.undrop_columns(model, column_names)[source]#
Undrop columns of model
- Parameters:
model (Model) – Pharmpy model object
column_names (list or str) – List of column names or one column name to undrop
- Returns:
Model – Pharmpy model object
Example
>>> from pharmpy.modeling import * >>> model = load_example_model("pheno") >>> model = drop_columns(model, ['WGT', 'APGR'], mark=True) >>> model = undrop_columns(model, 'WGT')
See also
drop_dropped_columns
Drop all columns marked as drop
drop_columns
Drop or mark columns as dropped