def index_to_label(index: int) -> str:
    """
    Map an column index to a label
    :param index: the index
    :return: the resulting label
    """
    letter = chr(65 + (index % 26))
    return letter * ((index // 26) + 1)