def getlabel(section):
    """
    Converts all activity outcome strings in either 1, 0 or None for a list
    """
    for i in range(len(section)):
        if section[i] == 'Active':
            section[i] = 1
        elif section[i] == 'Inactive':
            section[i] = 0
        else:
            section[i] = None
    
    return section