def get_user_articles_names_ids(user_id):
    '\n        INPUT:\n        user_id\n\n\n        OUTPUT:\n        article_ids - (list) a list of the article ids seen by the user\n        article_names - (list) a list of article names associated with the list of article ids \n                        (this is identified by the doc_full_name column in df_content)\n        \n        Description:\n        Provides a list of the article_ids and article titles that have been seen by a user\n        '
    article_ids = user_item.loc[user_id][(user_item.loc[user_id] == 1)].index.tolist()
    article_names = []
    for i in article_ids:
        try:
            title = df[(df['article_id'] == i)]['title'].unique()[0]
        except IndexError:
            title = 'None'
        article_names.append(title)
    article_ids = list(map(str, article_ids))
    return (article_ids, article_names)
INPUT:
user_id


OUTPUT:
article_ids - (list) a list of the article ids seen by the user
article_names - (list) a list of article names associated with the list of article ids 
                (this is identified by the doc_full_name column in df_content)

Description:
Provides a list of the article_ids and article titles that have been seen by a user
def get_user_articles_names_ids(user_id):
    '\n        INPUT:\n        user_id\n\n\n        OUTPUT:\n        article_ids - (list) a list of the article ids seen by the user\n        article_names - (list) a list of article names associated with the list of article ids \n                        (this is identified by the doc_full_name column in df_content)\n        \n        Description:\n        Provides a list of the article_ids and article titles that have been seen by a user\n        '
    article_ids = user_item.loc[user_id][(user_item.loc[user_id] == 1)].index.tolist()
    article_names = []
    for i in article_ids:
        try:
            title = df[(df['article_id'] == i)]['title'].unique()[0]
        except IndexError:
            title = 'None'
        article_names.append(title)
    article_ids = list(map(str, article_ids))
    return (article_ids, article_names)