from typing import List


def argmax(array: List[float]) -> int:
    """Simple argmax implementation for lists of floats."""
    index, value = max(enumerate(array), key=lambda x: x[1])
    return index