code: def string_to_int(s):
      if s.isdigit():
          return int(s)
      return 0
  
file_path: PaddleOCR/ppstructure/table/tablepyxl/tablepyxl.py
imports: from __future__ import absolute_import
  from lxml import html
  from openpyxl import Workbook
  from openpyxl.utils import get_column_letter
  from premailer import Premailer
  from tablepyxl.style import Table
label_desc: Use image node_id 1 for calling a global function with example usage: string_to_int(s) and returns: int, int