powered by
Set a multiindex for a dataframe.
The index columns will be used when using the data.frame in a pharmpy call
set_index(df, colnames)
A data.frame
An array of column names