code: def transform_list_to_block_table(table, data_manager):
      from ..manager.block_manager import BlockType
  
      def _to_block(values):
          convert_blocks = []
  
          lines = len(values)
          for block_schema in data_manager.blocks:
              if (
                  block_schema.block_type == BlockType.index
                  and len(block_schema.field_indexes) == 1
              ):
                  col_idx = block_schema.field_indexes[0]
                  block_content = [
                      values[i][col_idx] for i in range(lines)
                  ]
              else:
                  block_content = []
                  for i in range(lines):
                      buf = []
                      for col_idx in block_schema.field_indexes:
                          buf.append(values[i][col_idx])
                      block_content.append(buf)
  
              convert_blocks.append(
                  block_schema.convert_block(block_content)
              )
  
          return convert_blocks
  
      return table.mapValues(_to_block)
  
file_path: FATE/python/fate/arch/dataframe/ops/_transformer.py
imports: import functools
  import pandas
  from typing import List, Tuple
  import torch
  from fate.arch import tensor
  import numpy
  from ..manager.data_manager import DataManager
label_desc: Use image node_id 4 for calling a global function with example usage: transform_list_to_block_table(table, data_manager) and returns: table, convert_blocks