code: def add_first_cell(rows_data, first_table_cell):
      first_cell_x = rows_data[0][0]["location"]["x"]
      height = rows_data[0][0]["size"]["height"]
      rows_data[0] = [
          {
              "location": {
                  "x": first_table_cell.x1,
                  "y": first_table_cell.y1 + height,
              },
              "size": {
                  "width": first_cell_x - first_table_cell.x1,
                  "height": height,
              },
              "colSpan": 1,
              "rowSpan": 1,
          }
      ] + rows_data[0]
  
      return rows_data
  
file_path: doc-parsr/server/assets/TableDetectionScript.py
imports: import camelot
  import json
label_desc: Use image node_id 12 for calling a global function with example usage: add_first_cell(rows_data, first_table_cell) and returns: rows_data