def _find_id(self, id_):
        """Moves to row where formula is (if found, otherwise does nothing)"""
        for i, row in enumerate(self._data):
            if row["id"] == id_:
                t = self.tableWidget
                # idx = t.itemFromIndex()
                t.setCurrentCell(i, 0)
                break
def _find_id ( self , id_ ) : for i , row in enumerate ( self . _data ) : if row [ "id" ] == id_ : t = self . tableWidget t . setCurrentCell ( i , 0 ) break
Moves to row where formula is (if found, otherwise does nothing)