code: def get_table_columns(row):
      # Get all columns for the specified row tag.
      return row.find_all(["th", "td"], recursive=False) if row else []
  
imports: import re
  import docx
  from docx import Document
  from bs4 import BeautifulSoup
  from html.parser import HTMLParser
label_desc: Use image node_id 2 for calling a global function with example usage: get_table_columns(row) and returns: unknown