Im dealing with a problem when using PyQt5, i already made a QTableWidget which displays a DataFrame i prevously made in pandas (from a spreadsheet).
What im trying unsu
The cellDoubleClicked signal sends the row and column. So your code should look like this:
self.tableView.cellDoubleClicked.connect(self.expandShipments) ... def expandShipments(self, row, column): item = self.tableView.item(row, column) print(item.text())