code: def init_name_mapping(self):
      offset = 0
  
      if self._schema.sample_id_name:
          offset = 1
          self._name_offset_mapping[self._schema.sample_id_name] = 0
  
      if self._schema.match_id_name:
          self._name_offset_mapping[self._schema.match_id_name] = offset
          offset += 1
  
      if self._schema.label_name:
          self._name_offset_mapping[self._schema.label_name] = offset
          offset += 1
  
      if self._schema.weight_name:
          self._name_offset_mapping[self._schema.weight_name] = offset
          offset += 1
  
      if len(self._schema.columns):
          for idx, column_name in enumerate(self._schema.columns):
              self._name_offset_mapping[column_name] = offset + idx
  
      for column_name, idx in self._name_offset_mapping.items():
          self._offset_name_mapping[idx] = column_name
  
imports: import copy
  from typing import List, Union
  import pandas
  from .utils import AnonymousGenerator
label_desc: Use image node_id 16 for calling the SchemaManager obj's underlying member method code with example usage: obj.init_name_mapping() without return types