larch.Dataset.set_altnames

larch.Dataset.set_altnames

Dataset.set_altnames(altnames, inplace=False)[source]

Set the alternative names for this Dataset.

Parameters

altnames (Mapping or array-like) – A mapping of (integer) codes to names, or an array or names of the same length and order as the alternatives already defined in this Dataset.

Returns

Dataset