Excersise 16 Advanced

I have a problem interpreting a sentence in the text for the excersise:
“As this is the case, you can get the majority where class by np.round(np.mean(y)) where y is the list containing the class labels of the nearest neighbors.“

The words I can’t interprete is - “ the majority where class …”

I would be glad if you could explain it in Swedish.