print('Datatable : {0}'.format(self.datatable))

def rowCount(self, parent=QtCore.QModelIndex()):
    return len(self.datatable.index)

def columnCount(self, parent=QtCore.QModelIndex()):
    return len(self.datatable.columns.values)

def data(self, index, role=QtCore.Qt.DisplayRole):
    if role == QtCore.Qt.DisplayRole:
        i = index.row()
PyQt - Implement a QAbstractTableModel for display in QTableView