code: def labeled_table_data():
      text = [
          """Some text before the table
  A B
  1 2
  3 4
  Some text after the table"""
      ]
      labels = [
          [
              {
                  "text": "text",
                  "start": 5,
                  "end": 9,
                  "label": "non-table",
              },
              {
                  "text": "A",
                  "start": 27,
                  "end": 28,
                  "label": "in-table",
              },
              {
                  "text": "B",
                  "start": 29,
                  "end": 30,
                  "label": "in-table",
              },
              {
                  "text": "text",
                  "start": 44,
                  "end": 48,
                  "label": "non-table",
              },
          ]
      ]
      tables = [  # Documents
          [  # Pages (unused but included by OCR)
              [  # Tables
                  {
                      "cells": [
                          {
                              "text": "A",
                              "rows": [0],
                              "columns": [0],
                              "doc_offsets": [{"start": 27, "end": 28}],
                          },
                          {
                              "text": "B",
                              "rows": [0],
                              "columns": [1],
                              "doc_offsets": [{"start": 29, "end": 30}],
                          },
                          {
                              "text": "1",
                              "rows": [1],
                              "columns": [0],
                              "doc_offsets": [{"start": 31, "end": 32}],
                          },
                          {
                              "text": "2",
                              "rows": [1],
                              "columns": [1],
                              "doc_offsets": [{"start": 33, "end": 34}],
                          },
                          {
                              "text": "3",
                              "rows": [2],
                              "columns": [0],
                              "doc_offsets": [{"start": 35, "end": 36}],
                          },
                          {
                              "text": "4",
                              "rows": [2],
                              "columns": [1],
                              "doc_offsets": [{"start": 37, "end": 38}],
                          },
                      ],
                      "doc_offsets": [{"start": 27, "end": 38}],
                  }
              ]
          ]
      ]
      return text, labels, tables
  
file_path: finetune/tests/test_table_labeler.py
imports: import pytest
  from finetune.util.table_labeler import TableLabeler, TableETL
  from finetune.scheduler import Scheduler
label_desc: Use image node_id 2 for calling a global function with example usage: labeled_table_data() and returns: text,  labels,  tables