class Evaluations():
columns = {0: "participationKey", 1: "focusKey"}
participationKey = {"high": 3, "med": 2, "low": 1}
focusKey = {"high": 3, "med": 2, "low": 1}
def __init__(self):
self.data = []
def addData(self, participation, focus):
self.data.append((participation focus))
If I bind the above class w/another function for example:
def bindClass()
eval = Evaluations()
eval.addData('high','high')
eval.addData('low', 'low')
eval.addData('med','med')
How would I sort the data using NumPy, then iterate to show results in print? Thanks!