code: def check_row(data, index):
      """
      Identify the row number of datatable for a specific index
      Parameters
      ----------
      data : dash_table.DataTable.data
          data display in datatable
      index : int or str
          index from the dataset to identify
  
      Returns
      -------
      int:
          row number corresponding to index
      """
      if index is not None:
          df = pd.DataFrame.from_records(data, index="_index_")
          row = (
              df.index.get_loc(index)
              if index in list(df.index)
              else None
          )
      else:
          row = None
      return row
  
imports: import pandas
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: check_row(data, index) and returns: row