def email_mapper(df):
    coded_dict = dict()
    cter = 1
    email_encoded = []
    for val in df['email']:
        if (val not in coded_dict):
            coded_dict[val] = cter
            cter += 1
        email_encoded.append(coded_dict[val])
    return email_encoded
def email_mapper(df):
    coded_dict = dict()
    cter = 1
    email_encoded = []
    for val in df['email']:
        if (val not in coded_dict):
            coded_dict[val] = cter
            cter += 1
        email_encoded.append(coded_dict[val])
    return email_encoded