code: def extract_table_data(table, flavor):
      table_data = dict()
      table_data["size"] = get_table_size(table)
      table_data["location"] = get_table_location(table)
      table_data["content"] = table.data
      table_data["flavor"] = flavor
      table_data["rows"] = table.rows
      table_data["cols"] = table.cols
      cells_data = extract_rows_data(table, flavor)
      if cells_data != None:
          table_data["cells"] = cells_data
          return table_data
  
      return None
  
file_path: doc-parsr/server/assets/TableDetectionScript.py
imports: import camelot
  import json
label_desc: Use image node_id 13 for calling a global function with example usage: extract_table_data(table, flavor) and returns: None, table_data