code: def drop_on(self, event):
      index = self.indexAt(event.pos())
      if not index.isValid():
          return self.rowCount()
  
      return (
          index.row() + 1
          if self.is_below(event.pos(), index)
          else index.row()
      )
  
file_path: PaddleSeg/EISeg/eiseg/widget/table.py
imports: from qtpy import QtWidgets
  from qtpy.QtCore import Qt
label_desc: Use image node_id 3 for calling the TableWidget obj's underlying member method code with example usage: obj.drop_on(event) and returns: unknown, self