I have a program that loads a profile from a csv file and displays the data in a table. The loading of a pandas data frame to the table is fast because I used a custom model implementation of QAbstractTableModel
, but the resizing of the QTableView widget is incredibly slow.
What can I do to make the resizing and scrolling smoother?
Well, I ended up modifying the custom table model I made to use numpy, and now it is blazing fast.
Use this table model: