Computes accuracy given correct and incorrect data labels.
Your data
Name(s) of the column(s) that is aggregated
Labels that are treated as correct responses.
Labels that are treated as incorrect responses.
Anything else you want to pass to aggregate(). Note that aggfunc is set to np.size and you cannot change that.
A pandas.DataFrame in the format of accuracy() where the reported values are a fraction correct / (correct+incorrect).
accuracy()