replace_dev#
- ams.interface.replace_dev(row, mdl, dev, idx_map)[source]#
Replace the device idx in the row based on the idx_map.
- Parameters:
- rowpd.Series
The row of the DataFrame.
- mdlstr
The column name for the Model.
- devstr
The column name for the Device idx.
- idx_mapdict
The index map for replacement.
- Returns:
- str
The new device idx.