def get_protected_attributes_dict(names, attributes):
    """Returns dictionary of protected attributes.

    The dictionary has the form: {"s1": [...], "s2": [...], ... }
    Key "sI" is the sensitive feature name, and [...] the 1D array holding the
    sensitive feature.

    Args:
        names (list(str)): names of the attributes in attributes.
        attributes (np.ndarray): 2D array of the sensitive features.

    Returns:
        (dict): {"s1": [attributes[:, 1]], "s2":[attributes[:, 2]], ... }
    """
    protected_attributes_dict = {}
    for i in range(len(names)):
        name = names[i]
        data = attributes[:, (i)]
        protected_attributes_dict[name] = data
    return protected_attributes_dict
