I want to find local highs in a list. If a vertex consists of several identical maximum values, I want to take the first one and ignore the rest.
from scipy.s