def map_labels(label):
    """
    Purpose: a function used for the pandas library's ".apply()" method
             to convert all the specific labels in the dataframe into general labels
    Params:  label(string) -> the label from every single row of the dataframe column
    Returns: a general label (string)
    """
    others = ['ads', 'unique_questions', 'starting_clubs', 'contact_management']
    program_info = ['course_schedule', 'content', 'reschedule']
    registration = ['course_availability', 'application_deadlines', 'payment_confirmation', 'website_navigation', 'account_edits', 'progress_or_spots']
    program_logistics = ['zoom_links', 'zoom_recordings', 'cancel', 'other_urls']
    monetary_issues = ['taxes', 'payment', 'refund']
    scholarship = ['apply_scholarship', 'info_about_scholarship']
    if label in others:
        label = "others"
    elif label in program_info:
        label = "program_info"
    elif label in registration:
        label = "registration"
    elif label in program_logistics:
        label = "program_logistics"
    elif label in monetary_issues:
        label = "monetary_issues"
    elif label in scholarship:
        label = "scholarship"
    elif label == 'unactionable':
        label = 'unactionable'
    return label