code: def _write_table(
      module_name: str,
      module_path: str,
      supported_status: Dict[str, SupportedStatus],
      w_fd: TextIO,
  ) -> None:
      """
      Write the support status in a table format using Sphinx list-table directive.
  
      Parameters
      ----------
      module_name : str
          The name of the module whose support status is being documented.
      module_path : str
          The import path of the module in the documentation.
      supported_status : Dict[str, SupportedStatus]
          A dictionary mapping each function name to its support status.
      w_fd : TextIO
          An open file descriptor where the table will be written.
      """
      lines = []
      if module_name:
          lines.append(module_name)
      else:
          lines.append("General Function")
      lines.append(" API\n")
      lines.append("-" * 100)
      lines.append("\n")
      lines.append(".. currentmodule:: %s" % module_path)
      if module_name:
          lines.append(".%s\n" % module_name)
      else:
          lines.append("\n")
      lines.append("\n")
      lines.append(".. list-table::\n")
      lines.append("    :header-rows: 1\n")
      lines.append("\n")
      lines.append("    * - API\n")
      lines.append("      - Implemented\n")
      lines.append("      - Missing parameters\n")
      for func_str, status in supported_status.items():
          func_str = _escape_func_str(func_str)
          if status.implemented == Implemented.NOT_IMPLEMENTED.value:
              lines.append("    * - %s\n" % func_str)
          else:
              lines.append("    * - :func:`%s`\n" % func_str)
          lines.append("      - %s\n" % status.implemented)
          lines.append(
              "      - \n"
          ) if not status.missing else lines.append(
              "      - %s\n" % status.missing
          )
      w_fd.writelines(lines)
  
imports: import warnings
  from enum import Enum, unique
  from inspect import getmembers, isclass, isfunction, signature
  from typing import Any, Callable, Dict, List, NamedTuple, Set, TextIO, Tuple
  import pyspark.pandas
  import pyspark.pandas.groupby
  import pyspark.pandas.window
  import pandas
  import pandas.core.groupby
  import pandas.core.window
  from pyspark.loose_version import LooseVersion
  from pyspark.pandas.exceptions import PandasNotImplementedError
label_desc: Use image node_id 9 for calling a global function with example usage: _write_table(module_name, module_path, supported_status, w_fd) without return types