mario.Database.replace_units_name#

Database.replace_units_name(level, names)#

Rename unit labels inside one unit table without touching matrix data.

Parameters:
  • level – Classification level whose unit table should be updated.

  • names – Mapping old_unit -> new_unit applied to the selected unit table.

Returns:

The unit labels are updated in place.

Return type:

None