def parse_int_list(text):
    """Parse a string into a list of integers

    For example, the string "1,2,3,4" will be parsed to [1, 2, 3, 4].

    Parameters
    ----------
    text : str
        String to parse

    Returns
    -------
    List[int]
        Parsed integer list
    """
    result = [int(i) for i in text.split(',')]
    return result