code: def _backwards_compatible_index_name(raw_name, logical_name):
      """Compute the name of an index column that is compatible with older
      versions of :mod:`pyarrow`.
  
      Parameters
      ----------
      raw_name : str
      logical_name : str
  
      Returns
      -------
      result : str
  
      Notes
      -----
      * Part of :func:`~pyarrow.pandas_compat.table_to_blockmanager`
      """
      # Part of table_to_blockmanager
      if raw_name == logical_name and _is_generated_index_name(
          raw_name
      ):
          return None
      else:
          return logical_name
  
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 28 for calling a global function with example usage: _backwards_compatible_index_name(raw_name, logical_name) and returns: None, logical_name