def clean_data_one(df):
    """Clean data for graph one"""
    categories = df.drop(columns=['message', 'genre'])
    sum_per_category = categories.sum()
    percent_category = (
        (sum_per_category / sum_per_category.sum())
        .sort_values(ascending=False)
        .reset_index()
    )
    percent_category.columns = ['category', 'percent_share']
    
    return percent_category