code: def _table_to_blocks(
      options, block_table, categories, extension_columns
  ):
      # Part of table_to_blockmanager
  
      # Convert an arrow table to Block from the internal pandas API
      columns = block_table.column_names
      result = pa.lib.table_to_blocks(
          options,
          block_table,
          categories,
          list(extension_columns.keys()),
      )
      return [
          _reconstruct_block(item, columns, extension_columns)
          for item in result
      ]
  
imports: import ast
  from collections.abc import Sequence
  from concurrent import futures
  import concurrent.futures.thread
  from copy import deepcopy
  from itertools import zip_longest
  import json
  import operator
  import re
  import warnings
  import numpy
  import pyarrow
  from pyarrow.lib import _pandas_api, frombytes
label_desc: Use image node_id 33 for calling a global function with example usage: _table_to_blocks(options, block_table, categories, extension_columns) and returns: unknown