Skip to content

Instantly share code, notes, and snippets.

View aracnus's full-sized avatar

Aracnus aracnus

View GitHub Profile
import sys
import pandas as pd
from PyQt5.QtWidgets import QApplication, QTableView
from PyQt5.QtCore import QAbstractTableModel, Qt
df = pd.DataFrame({'a': ['Mary', 'Jim', 'John'],
'b': [100, 200, 300],
'c': ['a', 'b', 'c']})
class pandasModel(QAbstractTableModel):
### Keybase proof
I hereby claim:
* I am aracnus on github.
* I am aracnus (https://keybase.io/aracnus) on keybase.
* I have a public key ASAFwcULKydPwp51VBwN8Vxp9Mtm9wj0L_2o_GdnomeIRAo
To claim this, I am signing this object: