code: def init_from_local_file(
      self,
      sample_id_name,
      columns,
      match_id_list,
      match_id_name,
      label_name,
      weight_name,
      label_type,
      weight_type,
      dtype,
      default_type=types.DEFAULT_DATA_TYPE,
      anonymous_site_name=None,
  ):
      schema_manager = SchemaManager()
      retrieval_index_dict = schema_manager.parse_local_file_schema(
          sample_id_name,
          columns,
          match_id_list,
          match_id_name,
          label_name,
          weight_name,
          anonymous_site_name=anonymous_site_name,
      )
      schema_manager.init_field_types(
          label_type, weight_type, dtype, default_type=default_type
      )
      block_manager = BlockManager()
      block_manager.initialize_blocks(schema_manager)
  
      self._schema_manager = schema_manager
      self._block_manager = block_manager
  
      return retrieval_index_dict
  
imports: import numpy
  from .schema_manager import SchemaManager
  from .block_manager import BlockManager
  from .block_manager import BlockType
  import pandas
  from ..entity import types
  from typing import Union, List, Tuple
  from ..conf.default_config import DATAFRAME_BLOCK_ROW_SIZE
label_desc: Use image node_id 12 for calling the DataManager obj's underlying member method code with example usage: obj.init_from_local_file(sample_id_name, columns, match_id_list, match_id_name, label_name, weight_name, label_type, weight_type, dtype, default_type, anonymous_site_name) and returns: retrieval_index_dict